diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-11-22 21:49:45 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-11-22 21:49:45 +0000 |
commit | bec50063a5e546b7f5786961500566f13984679b (patch) | |
tree | fbf541bcd87e85d7ffffdd2f608f4945b71aa1ce /test/DebugInfo/template-recursive-void.ll | |
parent | e1af5f6ad178e76429b58759042f061247d90435 (diff) | |
download | llvm-bec50063a5e546b7f5786961500566f13984679b.tar.gz llvm-bec50063a5e546b7f5786961500566f13984679b.tar.bz2 llvm-bec50063a5e546b7f5786961500566f13984679b.tar.xz |
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
Diffstat (limited to 'test/DebugInfo/template-recursive-void.ll')
-rw-r--r-- | test/DebugInfo/template-recursive-void.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/template-recursive-void.ll b/test/DebugInfo/template-recursive-void.ll index 3ffb80bdbe..2ed57a6576 100644 --- a/test/DebugInfo/template-recursive-void.ll +++ b/test/DebugInfo/template-recursive-void.ll @@ -23,7 +23,7 @@ @filters = global %class.bar zeroinitializer, align 1 !llvm.dbg.cu = !{!0} -!llvm.module.flags = !{!36} +!llvm.module.flags = !{!36, !37} !0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.4 (trunk 187958) (llvm/trunk 187964)", i1 false, metadata !"", i32 0, metadata !2, metadata !2, metadata !2, metadata !3, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/echristo/tmp/debug-info-template-recursive.cpp] [DW_LANG_C_plus_plus] !1 = metadata !{metadata !"debug-info-template-recursive.cpp", metadata !"/usr/local/google/home/echristo/tmp"} @@ -62,3 +62,4 @@ !34 = metadata !{i32 786447, i32 0, null, metadata !"", i32 0, i64 64, i64 64, i64 0, i32 1088, metadata !6} ; [ DW_TAG_pointer_type ] [line 0, size 64, align 64, offset 0] [artificial] [from bar] !35 = metadata !{i32 786468} !36 = metadata !{i32 2, metadata !"Dwarf Version", i32 3} +!37 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |