summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-11-22 21:49:45 +0000
committerManman Ren <manman.ren@gmail.com>2013-11-22 21:49:45 +0000
commit409558f81e86f6a5773ac19897e1f6e4e21fa64a (patch)
treeb4fd06d5898f494efc351b4fca8af1b84f6f7892 /llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
parentcc14f3a536ded627bac1c4316a329d3f4e94c1c6 (diff)
downloadbcm5719-llvm-409558f81e86f6a5773ac19897e1f6e4e21fa64a.tar.gz
bcm5719-llvm-409558f81e86f6a5773ac19897e1f6e4e21fa64a.zip
Debug Info: update testing cases to specify the debug info version number.
We are going to drop debug info without a version number or with a different version number, to make sure we don't crash when we see bitcode files with different debug info metadata format. llvm-svn: 195504
Diffstat (limited to 'llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll')
-rw-r--r--llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
index 61cfd529127..147937aaf48 100644
--- a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
+++ b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
@@ -68,6 +68,7 @@ entry:
}
!llvm.dbg.cu = !{!0, !10}
+!llvm.module.flags = !{!25}
!0 = metadata !{i32 786449, metadata !23, i32 12, metadata !"clang version 3.3", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1, metadata !1, metadata !""} ; [ DW_TAG_compile_unit ]
!1 = metadata !{i32 0}
!3 = metadata !{metadata !5}
@@ -90,3 +91,4 @@ entry:
!22 = metadata !{i32 786443, metadata !24, metadata !13, i32 1, i32 0, i32 0} ; [ DW_TAG_lexical_block ]
!23 = metadata !{metadata !"simple.c", metadata !"/private/tmp"}
!24 = metadata !{metadata !"simple2.c", metadata !"/private/tmp"}
+!25 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
OpenPOWER on IntegriCloud