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/Linker/2011-08-18-unique-class-type2.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/Linker/2011-08-18-unique-class-type2.ll')
-rw-r--r-- | test/Linker/2011-08-18-unique-class-type2.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Linker/2011-08-18-unique-class-type2.ll b/test/Linker/2011-08-18-unique-class-type2.ll index b1b90817d3..7bfcd91967 100644 --- a/test/Linker/2011-08-18-unique-class-type2.ll +++ b/test/Linker/2011-08-18-unique-class-type2.ll @@ -16,6 +16,7 @@ entry: declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone !llvm.dbg.cu = !{!0} +!llvm.module.flags = !{!18} !0 = metadata !{i32 720913, metadata !16, i32 4, metadata !"clang version 3.0 (trunk 137954)", i1 true, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, null, metadata !""} ; [ DW_TAG_compile_unit ] !1 = metadata !{metadata !2} @@ -34,3 +35,4 @@ declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone !15 = metadata !{i32 720907, metadata !16, metadata !5, i32 4, i32 19, i32 0} ; [ DW_TAG_lexical_block ] !16 = metadata !{metadata !"n2.c", metadata !"/private/tmp"} !17 = metadata !{metadata !"./n.h", metadata !"/private/tmp"} +!18 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |