summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-05-20 00:00:08 +0000
committerAdrian Prantl <aprantl@apple.com>2017-05-20 00:00:08 +0000
commit981a7998966224d3661f381f7609e20c3898884c (patch)
tree3c0b8d942e31a713679e451bb2bd241aa2ba67eb /llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll
parentcbf7d8a65a3609f63d056de82dcb52be535ecdfe (diff)
downloadbcm5719-llvm-981a7998966224d3661f381f7609e20c3898884c.tar.gz
bcm5719-llvm-981a7998966224d3661f381f7609e20c3898884c.zip
Revert "Revert "ThinLTO: Verify bitcode before lauching the ThinLTOCodeGenerator.""
This reapplies commit r303438 modified to not verify cross-imported bitcode in FunctionImporter. rdar://problem/31233625 Differential Revision: https://reviews.llvm.org/D33370 llvm-svn: 303470
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