diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-12-09 21:01:06 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-12-09 21:01:06 +0000 |
commit | 353334039958adf7600b7e6a8538c7c14d25857c (patch) | |
tree | eb59c1c1b00549a8b6de4ca8a11f11c2a7648c83 /test/Feature | |
parent | c877b10446669bf107c19cab78b920ce9cffb989 (diff) | |
download | external_llvm-353334039958adf7600b7e6a8538c7c14d25857c.zip external_llvm-353334039958adf7600b7e6a8538c7c14d25857c.tar.gz external_llvm-353334039958adf7600b7e6a8538c7c14d25857c.tar.bz2 |
Merging r195535:
------------------------------------------------------------------------
r195535 | mren | 2013-11-22 17:16:29 -0800 (Fri, 22 Nov 2013) | 8 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.
Make tests more robust by removing hard-coded metadata numbers in CHECK lines.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r-- | test/Feature/md_on_instruction.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Feature/md_on_instruction.ll b/test/Feature/md_on_instruction.ll index 8599601..955ace3 100644 --- a/test/Feature/md_on_instruction.ll +++ b/test/Feature/md_on_instruction.ll @@ -16,9 +16,12 @@ declare void @llvm.dbg.func.start(metadata) nounwind readnone declare void @llvm.dbg.region.end(metadata) nounwind readnone +!llvm.module.flags = !{!6} + !0 = metadata !{i32 458798, i32 0, metadata !1, metadata !"foo", metadata !"foo", metadata !"foo", metadata !1, i32 1, metadata !2, i1 false, i1 true} !1 = metadata !{i32 458769, metadata !4, i32 12, metadata !"clang 1.0", i1 true, metadata !"", i32 0, metadata !5, metadata !5, metadata !4, null, null, metadata !""} !2 = metadata !{i32 458788, null, metadata !1, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} !3 = metadata !{i32 1, i32 13, metadata !1, metadata !1} !4 = metadata !{metadata !"foo.c", metadata !"/tmp"} !5 = metadata !{i32 0} +!6 = metadata !{i32 1, metadata !"Debug Info Version", i32 1} |