summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/debug-invoke.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Inline/debug-invoke.ll')
-rw-r--r--test/Transforms/Inline/debug-invoke.ll9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Transforms/Inline/debug-invoke.ll b/test/Transforms/Inline/debug-invoke.ll
index c547559d8c2ad..a1c27b00ea59c 100644
--- a/test/Transforms/Inline/debug-invoke.ll
+++ b/test/Transforms/Inline/debug-invoke.ll
@@ -31,7 +31,14 @@ lpad:
}
!llvm.module.flags = !{!1}
+!llvm.dbg.cu = !{!5}
+
!1 = !{i32 2, !"Debug Info Version", i32 3}
-!2 = distinct !DISubprogram()
+!2 = distinct !DISubprogram(unit: !5)
!3 = !DILocation(line: 1, scope: !2)
!4 = !DILocation(line: 2, scope: !2)
+!5 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
+ file: !6,
+ isOptimized: true, flags: "-O2",
+ splitDebugFilename: "abc.debug", emissionKind: 2)
+!6 = !DIFile(filename: "path/davidino", directory: "/path/to/dir")