summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/fission-hash.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
commitbec50063a5e546b7f5786961500566f13984679b (patch)
treefbf541bcd87e85d7ffffdd2f608f4945b71aa1ce /test/DebugInfo/X86/fission-hash.ll
parente1af5f6ad178e76429b58759042f061247d90435 (diff)
downloadllvm-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/X86/fission-hash.ll')
-rw-r--r--test/DebugInfo/X86/fission-hash.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/fission-hash.ll b/test/DebugInfo/X86/fission-hash.ll
index e3e0c30661..d3e46a9c4f 100644
--- a/test/DebugInfo/X86/fission-hash.ll
+++ b/test/DebugInfo/X86/fission-hash.ll
@@ -7,9 +7,10 @@
; CHECK: DW_AT_GNU_dwo_id [DW_FORM_data8] (0x0c1e629c9e5ada4f)
!llvm.dbg.cu = !{!0}
-!llvm.module.flags = !{!3}
+!llvm.module.flags = !{!3, !4}
!0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"clang version 3.4 (trunk 188230) (llvm/trunk 188234)", i1 false, metadata !"", i32 0, metadata !2, metadata !2, metadata !2, metadata !2, metadata !2, metadata !"foo.dwo"} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/echristo/tmp/foo.c] [DW_LANG_C99]
!1 = metadata !{metadata !"foo.c", metadata !"/usr/local/google/home/echristo/tmp"}
!2 = metadata !{i32 0}
!3 = metadata !{i32 2, metadata !"Dwarf Version", i32 3}
+!4 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}