summaryrefslogtreecommitdiff
path: root/test/Linker/2011-08-04-DebugLoc.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/Linker/2011-08-04-DebugLoc.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/Linker/2011-08-04-DebugLoc.ll')
-rw-r--r--test/Linker/2011-08-04-DebugLoc.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Linker/2011-08-04-DebugLoc.ll b/test/Linker/2011-08-04-DebugLoc.ll
index 6412b70278..d26e8cd04c 100644
--- a/test/Linker/2011-08-04-DebugLoc.ll
+++ b/test/Linker/2011-08-04-DebugLoc.ll
@@ -14,6 +14,7 @@ define i32 @foo() nounwind ssp {
}
!llvm.dbg.cu = !{!0}
+!llvm.module.flags = !{!11}
!llvm.dbg.sp = !{!1}
!0 = metadata !{i32 589841, metadata !8, i32 12, metadata !"Apple clang version 3.0 (tags/Apple/clang-209.11) (based on LLVM 3.0svn)", i1 true, metadata !"", i32 0, metadata !9, metadata !9, metadata !10, null, null, metadata !""} ; [ DW_TAG_compile_unit ]
@@ -27,3 +28,4 @@ define i32 @foo() nounwind ssp {
!8 = metadata !{metadata !"a.c", metadata !"/private/tmp"}
!9 = metadata !{i32 0}
!10 = metadata !{metadata !1}
+!11 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}