summaryrefslogtreecommitdiff
path: root/test/Verifier/func-dbg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Verifier/func-dbg.ll')
-rw-r--r--test/Verifier/func-dbg.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Verifier/func-dbg.ll b/test/Verifier/func-dbg.ll
index e56de94d18c9e..b05d255d82ec4 100644
--- a/test/Verifier/func-dbg.ll
+++ b/test/Verifier/func-dbg.ll
@@ -14,12 +14,11 @@ entry:
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!7, !8}
-!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: 0, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
+!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2, imports: !2)
!1 = !DIFile(filename: "dwarf-test.c", directory: "test")
!2 = !{}
-!3 = !{!4, !5}
-!4 = distinct !DISubprogram(name: "foo", scope: !0, isDefinition: true)
-!5 = distinct !DISubprogram(name: "bar", scope: !0, isDefinition: true)
+!4 = distinct !DISubprogram(name: "foo", scope: !0, isDefinition: true, unit: !0)
+!5 = distinct !DISubprogram(name: "bar", scope: !0, isDefinition: true, unit: !0)
!6 = !DILocation(line: 7, scope: !4)
!7 = !{i32 2, !"Dwarf Version", i32 3}
!8 = !{i32 1, !"Debug Info Version", i32 3}