summaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/X86/vector.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-09 20:58:24 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-09 20:58:24 +0000
commit41245b4e2a2c71d764534b41bc38fea7c5cf6774 (patch)
treeee2972f5124068538e481b1af7fe799eb9b89a24 /test/DebugInfo/X86/vector.ll
parent863c7b48a6672f7074b2e69683fe4259c8c31bd7 (diff)
downloadexternal_llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.zip
external_llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.gz
external_llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.bz2
Merging r195504:
------------------------------------------------------------------------ r195504 | mren | 2013-11-22 13:49:45 -0800 (Fri, 22 Nov 2013) | 6 lines 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/branches/release_34@196815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/vector.ll')
-rw-r--r--test/DebugInfo/X86/vector.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/vector.ll b/test/DebugInfo/X86/vector.ll
index 24a5d3d..6e14ed6 100644
--- a/test/DebugInfo/X86/vector.ll
+++ b/test/DebugInfo/X86/vector.ll
@@ -10,6 +10,7 @@
@a = common global <4 x i32> zeroinitializer, align 16
!llvm.dbg.cu = !{!0}
+!llvm.module.flags = !{!13}
!0 = metadata !{i32 786449, metadata !12, i32 12, metadata !"clang version 3.3 (trunk 171825) (llvm/trunk 171822)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !1, metadata !3, metadata !3, metadata !""} ; [ DW_TAG_compile_unit ] [/Users/echristo/foo.c] [DW_LANG_C99]
!1 = metadata !{i32 0}
@@ -26,3 +27,4 @@
; Check that we get an array type with a vector attribute.
; CHECK: DW_TAG_array_type
; CHECK-NEXT: DW_AT_GNU_vector
+!13 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}