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/enum-class.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/enum-class.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/enum-class.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/enum-class.ll b/llvm/test/DebugInfo/X86/enum-class.ll index 2472fe633e0..a31e254c24c 100644 --- a/llvm/test/DebugInfo/X86/enum-class.ll +++ b/llvm/test/DebugInfo/X86/enum-class.ll @@ -6,6 +6,7 @@ @c = global i32 0, align 4 !llvm.dbg.cu = !{!0} +!llvm.module.flags = !{!23} !0 = metadata !{i32 786449, metadata !22, i32 4, metadata !"clang version 3.2 (trunk 157269) (llvm/trunk 157264)", i1 false, metadata !"", i32 0, metadata !1, metadata !15, metadata !15, metadata !17, metadata !17, metadata !""} ; [ DW_TAG_compile_unit ] !1 = metadata !{metadata !3, metadata !8, metadata !12} @@ -41,3 +42,4 @@ ; CHECK: DW_TAG_enumeration_type [6] ; CHECK-NOT: DW_AT_enum_class ; CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[{{.*}}] = "C") +!23 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |