summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline/debug-invoke.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/Inline/debug-invoke.ll')
-rw-r--r--llvm/test/Transforms/Inline/debug-invoke.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Transforms/Inline/debug-invoke.ll b/llvm/test/Transforms/Inline/debug-invoke.ll
index c547559d8c2..b1cb9ea5a3a 100644
--- a/llvm/test/Transforms/Inline/debug-invoke.ll
+++ b/llvm/test/Transforms/Inline/debug-invoke.ll
@@ -31,7 +31,15 @@ lpad:
}
!llvm.module.flags = !{!1}
+!llvm.dbg.cu = !{!5}
+
!1 = !{i32 2, !"Debug Info Version", i32 3}
!2 = distinct !DISubprogram()
!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,
+ subprograms: !{!2})
+!6 = !DIFile(filename: "path/davidino", directory: "/path/to/dir")
OpenPOWER on IntegriCloud