diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-11-22 21:49:45 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-11-22 21:49:45 +0000 |
commit | 409558f81e86f6a5773ac19897e1f6e4e21fa64a (patch) | |
tree | b4fd06d5898f494efc351b4fca8af1b84f6f7892 /llvm/test/DebugInfo/X86/nondefault-subrange-array.ll | |
parent | cc14f3a536ded627bac1c4316a329d3f4e94c1c6 (diff) | |
download | bcm5719-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/DebugInfo/X86/nondefault-subrange-array.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/nondefault-subrange-array.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll b/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll index 236a4c7ebca..91065a312b6 100644 --- a/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll +++ b/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll @@ -28,6 +28,7 @@ ; CHECK-NEXT: DW_AT_encoding [DW_FORM_data1] (0x05) !llvm.dbg.cu = !{!0} +!llvm.module.flags = !{!21} !0 = metadata !{i32 786449, metadata !20, i32 4, metadata !"clang version 3.3 (trunk 169136)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !1, metadata !3, metadata !3, metadata !""} ; [ DW_TAG_compile_unit ] [/Volumes/Sandbox/llvm/t.cpp] [DW_LANG_C_plus_plus] !1 = metadata !{i32 0} @@ -48,3 +49,4 @@ !18 = metadata !{metadata !19} !19 = metadata !{i32 786468} ; [ DW_TAG_base_type ] [line 0, size 0, align 0, offset 0] !20 = metadata !{metadata !"t.cpp", metadata !"/Volumes/Sandbox/llvm"} +!21 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |