diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-12-09 20:58:24 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-12-09 20:58:24 +0000 |
commit | 41245b4e2a2c71d764534b41bc38fea7c5cf6774 (patch) | |
tree | ee2972f5124068538e481b1af7fe799eb9b89a24 /test/DebugInfo/X86/earlydup-crash.ll | |
parent | 863c7b48a6672f7074b2e69683fe4259c8c31bd7 (diff) | |
download | llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.gz llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.bz2 llvm-41245b4e2a2c71d764534b41bc38fea7c5cf6774.tar.xz |
Merging r195504:
------------------------------------------------------------------------
r195504 | mren | 2013-11-22 13:49:45 -0800 (Fri, 22 Nov 2013) | 6 lines
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/branches/release_34@196815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86/earlydup-crash.ll')
-rw-r--r-- | test/DebugInfo/X86/earlydup-crash.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/earlydup-crash.ll b/test/DebugInfo/X86/earlydup-crash.ll index 8c8372ca1c..b5dc01e68a 100644 --- a/test/DebugInfo/X86/earlydup-crash.ll +++ b/test/DebugInfo/X86/earlydup-crash.ll @@ -43,6 +43,7 @@ bb33: ; preds = %bb31, %bb22, %bb18, declare void @foobar(i32) !llvm.dbg.cu = !{!4} +!llvm.module.flags = !{!47} !0 = metadata !{i32 590080, metadata !1, metadata !"frname_len", metadata !3, i32 517, metadata !38, i32 0} ; [ DW_TAG_auto_variable ] !1 = metadata !{i32 589835, metadata !44, metadata !2, i32 515, i32 0, i32 19} ; [ DW_TAG_lexical_block ] !2 = metadata !{i32 589870, metadata !44, null, metadata !"framework_construct_pathname", metadata !"framework_construct_pathname", metadata !"", i32 515, metadata !5, i1 true, i1 true, i32 0, i32 0, null, i32 256, i1 true, i8* (i8*, %struct.cpp_dir*)* @framework_construct_pathname, null, null, null, i32 0} ; [ DW_TAG_subprogram ] @@ -90,3 +91,4 @@ declare void @foobar(i32) !44 = metadata !{metadata !"darwin-c.c", metadata !"/Users/espindola/llvm/build-llvm-gcc/gcc/../../llvm-gcc-4.2/gcc/config"} !45 = metadata !{metadata !2} !46 = metadata !{i32 0} +!47 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |