summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/debug-line.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
commit409558f81e86f6a5773ac19897e1f6e4e21fa64a (patch)
treeb4fd06d5898f494efc351b4fca8af1b84f6f7892 /llvm/test/Transforms/InstCombine/debug-line.ll
parentcc14f3a536ded627bac1c4316a329d3f4e94c1c6 (diff)
downloadbcm5719-llvm-409558f81e86f6a5773ac19897e1f6e4e21fa64a.tar.gz
bcm5719-llvm-409558f81e86f6a5773ac19897e1f6e4e21fa64a.zip
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. llvm-svn: 195504
Diffstat (limited to 'llvm/test/Transforms/InstCombine/debug-line.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/debug-line.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/debug-line.ll b/llvm/test/Transforms/InstCombine/debug-line.ll
index 5e43abf51ba..2e3785fe597 100644
--- a/llvm/test/Transforms/InstCombine/debug-line.ll
+++ b/llvm/test/Transforms/InstCombine/debug-line.ll
@@ -12,6 +12,7 @@ define void @foo() nounwind ssp {
declare i32 @printf(i8*, ...)
!llvm.dbg.cu = !{!2}
+!llvm.module.flags = !{!10}
!llvm.dbg.sp = !{!0}
!0 = metadata !{i32 589870, metadata !8, metadata !1, metadata !"foo", metadata !"foo", metadata !"", i32 4, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, void ()* @foo, null, null, null, i32 0} ; [ DW_TAG_subprogram ]
@@ -24,3 +25,4 @@ declare i32 @printf(i8*, ...)
!7 = metadata !{i32 6, i32 1, metadata !6, null}
!8 = metadata !{metadata !"m.c", metadata !"/private/tmp"}
!9 = metadata !{metadata !0}
+!10 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
OpenPOWER on IntegriCloud