From 353334039958adf7600b7e6a8538c7c14d25857c Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Mon, 9 Dec 2013 21:01:06 +0000 Subject: 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 --- test/Feature/md_on_instruction.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/Feature') 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} -- cgit v1.1