summaryrefslogtreecommitdiff
path: root/test/Bitcode/DISubprogram-distinct-definitions.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Bitcode/DISubprogram-distinct-definitions.ll')
-rw-r--r--test/Bitcode/DISubprogram-distinct-definitions.ll11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/Bitcode/DISubprogram-distinct-definitions.ll b/test/Bitcode/DISubprogram-distinct-definitions.ll
index 5c6fb908be908..bcb9a4ec4da66 100644
--- a/test/Bitcode/DISubprogram-distinct-definitions.ll
+++ b/test/Bitcode/DISubprogram-distinct-definitions.ll
@@ -1,11 +1,14 @@
; RUN: llvm-dis < %s.bc | FileCheck %s
; Check that subprogram definitions are correctly upgraded to 'distinct'.
-; Bitcode compiled from r245235 of the 3.7 release branch.
+; Bitcode compiled with llvm-as version 3.7.
-!named = !{!0}
-!0 = distinct !DICompileUnit(language: 12, file: !1, subprograms: !2)
+define void @f() !dbg !3 { ret void }
+
+!llvm.module.flags = !{!4}
+!llvm.dbg.cu = !{!0}
+!0 = distinct !DICompileUnit(language: 12, file: !1, subprograms: !{!3})
!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
-!2 = !{!3}
; CHECK: = distinct !DISubprogram({{.*}}, isDefinition: true
!3 = !DISubprogram(name: "foo", isDefinition: true)
+!4 = !{i32 2, !"Debug Info Version", i32 3}