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 | bec50063a5e546b7f5786961500566f13984679b (patch) | |
tree | fbf541bcd87e85d7ffffdd2f608f4945b71aa1ce /test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll | |
parent | e1af5f6ad178e76429b58759042f061247d90435 (diff) | |
download | llvm-bec50063a5e546b7f5786961500566f13984679b.tar.gz llvm-bec50063a5e546b7f5786961500566f13984679b.tar.bz2 llvm-bec50063a5e546b7f5786961500566f13984679b.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll')
-rw-r--r-- | test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll b/test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll index ec84e87fe0..dc27dfdc32 100644 --- a/test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll +++ b/test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll @@ -28,7 +28,7 @@ entry: attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } !llvm.dbg.cu = !{!0} -!llvm.module.flags = !{!9} +!llvm.module.flags = !{!9, !11} !0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"clang version 3.4 ", i1 false, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [C:\Projects/test.c] [DW_LANG_C99] !1 = metadata !{metadata !"test.c", metadata !"C:\5CProjects"} @@ -41,3 +41,4 @@ attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"= !8 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] !9 = metadata !{i32 2, metadata !"Dwarf Version", i32 4} !10 = metadata !{i32 3, i32 0, metadata !4, null} +!11 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |