diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-11-23 01:16:29 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-11-23 01:16:29 +0000 |
commit | bc8569d0c09368d2375f3b6bb895e07a9e24df41 (patch) | |
tree | 3654df0d2102cfb202eed3340d01053a4e0920d4 /test/CodeGen/ARM | |
parent | fbe605e7122e319eacfbc708660bed48ecce7cf2 (diff) | |
download | llvm-bc8569d0c09368d2375f3b6bb895e07a9e24df41.tar.gz llvm-bc8569d0c09368d2375f3b6bb895e07a9e24df41.tar.bz2 llvm-bc8569d0c09368d2375f3b6bb895e07a9e24df41.tar.xz |
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.
Make tests more robust by removing hard-coded metadata numbers in CHECK lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/debug-info-branch-folding.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/debug-info-branch-folding.ll b/test/CodeGen/ARM/debug-info-branch-folding.ll index c77c13889a..8505f53655 100644 --- a/test/CodeGen/ARM/debug-info-branch-folding.ll +++ b/test/CodeGen/ARM/debug-info-branch-folding.ll @@ -38,6 +38,8 @@ declare i32 @printf(i8* nocapture, ...) nounwind declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone +!llvm.module.flags = !{!56} + !0 = metadata !{i32 786478, metadata !54, null, metadata !"test0001", metadata !"test0001", metadata !"", i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, i32 0, i32 256, i1 true, <4 x float> (float)* @test0001, null, null, metadata !51, i32 0} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 786473, metadata !54} ; [ DW_TAG_file_type ] !2 = metadata !{i32 786449, metadata !54, i32 12, metadata !"clang version 3.0 (trunk 129915)", i1 true, metadata !"", i32 0, metadata !17, metadata !17, metadata !50, null, null, null} ; [ DW_TAG_compile_unit ] @@ -94,3 +96,4 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone !53 = metadata !{metadata !30} !54 = metadata !{metadata !"build2.c", metadata !"/private/tmp"} !55 = metadata !{metadata !"/Volumes/Lalgate/work/llvm/projects/llvm-test/SingleSource/UnitTests/Vector/helpers.h", metadata !"/private/tmp"} +!56 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |