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/2010-07-19-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/2010-07-19-Crash.ll')
-rw-r--r-- | test/DebugInfo/2010-07-19-Crash.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/DebugInfo/2010-07-19-Crash.ll b/test/DebugInfo/2010-07-19-Crash.ll index 5d0dfe9d32..6b6e61ddc2 100644 --- a/test/DebugInfo/2010-07-19-Crash.ll +++ b/test/DebugInfo/2010-07-19-Crash.ll @@ -8,6 +8,7 @@ entry: } !llvm.dbg.cu = !{!2} +!llvm.module.flags = !{!15} !llvm.dbg.sp = !{!0, !6, !11} !llvm.dbg.lv.foo = !{!7} @@ -26,3 +27,4 @@ entry: !12 = metadata !{metadata !"one.c", metadata !"/private/tmp"} !13 = metadata !{metadata !0, metadata !6, metadata !11} !14 = metadata !{i32 0} +!15 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |