summaryrefslogtreecommitdiff
path: root/test/DebugInfo/tu-member-pointer.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/tu-member-pointer.ll
parent863c7b48a6672f7074b2e69683fe4259c8c31bd7 (diff)
downloadllvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.gz
llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.bz2
llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.xz
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/tu-member-pointer.ll')
-rw-r--r--test/DebugInfo/tu-member-pointer.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/tu-member-pointer.ll b/test/DebugInfo/tu-member-pointer.ll
index 9be9851ef9..b746d3b6d4 100644
--- a/test/DebugInfo/tu-member-pointer.ll
+++ b/test/DebugInfo/tu-member-pointer.ll
@@ -14,7 +14,7 @@
@x = global i64 -1, align 8
!llvm.dbg.cu = !{!0}
-!llvm.module.flags = !{!10}
+!llvm.module.flags = !{!10, !11}
!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !"clang version 3.4", i1 false, metadata !"", i32 0, metadata !2, metadata !3, metadata !2, metadata !5, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [foo.cpp] [DW_LANG_C_plus_plus]
!1 = metadata !{metadata !"foo.cpp", metadata !"."}
@@ -27,3 +27,4 @@
!8 = metadata !{i32 786463, null, null, null, i32 0, i64 0, i64 0, i64 0, i32 0, metadata !9, metadata !"_ZTS3Foo"} ; [ DW_TAG_ptr_to_member_type ] [line 0, size 0, align 0, offset 0] [from int]
!9 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed]
!10 = metadata !{i32 2, metadata !"Dwarf Version", i32 2}
+!11 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}