summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/debug-info-blocks.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/CodeGen/ARM/debug-info-blocks.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/CodeGen/ARM/debug-info-blocks.ll')
-rw-r--r--llvm/test/CodeGen/ARM/debug-info-blocks.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/debug-info-blocks.ll b/llvm/test/CodeGen/ARM/debug-info-blocks.ll
index 6e2c0721f47..6cbe4b4727c 100644
--- a/llvm/test/CodeGen/ARM/debug-info-blocks.ll
+++ b/llvm/test/CodeGen/ARM/debug-info-blocks.ll
@@ -93,6 +93,7 @@ define hidden void @foobar_func_block_invoke_0(i8* %.block_descriptor, %0* %load
}
!llvm.dbg.cu = !{!0}
+!llvm.module.flags = !{!162}
!0 = metadata !{i32 786449, metadata !153, i32 16, metadata !"Apple clang version 2.1", i1 false, metadata !"", i32 2, metadata !147, metadata !26, metadata !148, null, null, metadata !""} ; [ DW_TAG_compile_unit ]
!1 = metadata !{i32 786436, metadata !160, metadata !0, metadata !"", i32 248, i64 32, i64 32, i32 0, i32 0, null, metadata !3, i32 0, null, null, null} ; [ DW_TAG_enumeration_type ] [line 248, size 32, align 32, offset 0] [def] [from ]
@@ -256,3 +257,4 @@ define hidden void @foobar_func_block_invoke_0(i8* %.block_descriptor, %0* %load
!159 = metadata !{metadata !"header15.h", metadata !"/Volumes/Sandbox/llvm"}
!160 = metadata !{metadata !"header.h", metadata !"/Volumes/Sandbox/llvm"}
!161 = metadata !{metadata !"header2.h", metadata !"/Volumes/Sandbox/llvm"}
+!162 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
OpenPOWER on IntegriCloud