From bec50063a5e546b7f5786961500566f13984679b Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Fri, 22 Nov 2013 21:49:45 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195504 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/inlined-arguments.ll | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/DebugInfo/inlined-arguments.ll') diff --git a/test/DebugInfo/inlined-arguments.ll b/test/DebugInfo/inlined-arguments.ll index b6e2c8a77e..1dd5b2c07f 100644 --- a/test/DebugInfo/inlined-arguments.ll +++ b/test/DebugInfo/inlined-arguments.ll @@ -46,6 +46,7 @@ attributes #1 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" " attributes #2 = { nounwind readnone } !llvm.dbg.cu = !{!0} +!llvm.module.flags = !{!26} !0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.4 ", i1 true, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/blaikie/dev/scratch/exp.cpp] [DW_LANG_C_plus_plus] !1 = metadata !{metadata !"exp.cpp", metadata !"/usr/local/google/home/blaikie/dev/scratch"} @@ -73,3 +74,4 @@ attributes #2 = { nounwind readnone } !23 = metadata !{i32 6, i32 0, metadata !8, null} !24 = metadata !{i32 7, i32 0, metadata !8, null} !25 = metadata !{i32 8, i32 0, metadata !8, null} ; [ DW_TAG_imported_declaration ] +!26 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} -- cgit v1.2.3