summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll')
-rw-r--r--llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll b/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
new file mode 100644
index 00000000000..4269886676b
--- /dev/null
+++ b/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
@@ -0,0 +1,15 @@
+target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-apple-macosx10.12"
+
+define void @bar() !dbg !3 {
+ ret void
+}
+
+!llvm.module.flags = !{!0}
+!llvm.dbg.cu = !{!1}
+
+!0 = !{i32 2, !"Debug Info Version", i32 3}
+!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2)
+!2 = !DIFile(filename: "broken", directory: "")
+!3 = distinct !DISubprogram(line: 1000, isDefinition: true)
+
OpenPOWER on IntegriCloud