diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-25 19:33:30 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-25 19:33:30 +0000 |
commit | cb420a4bc066b0b85e50b0c362ae20519d28788c (patch) | |
tree | 43085a023b3855baf7f3fe8c8a0e0e9c4e508d1a /test/Transforms/GlobalOpt/2009-03-05-dbg.ll | |
parent | b0122be8c30149301cd2348a23ebfbee3406b272 (diff) | |
download | external_llvm-cb420a4bc066b0b85e50b0c362ae20519d28788c.zip external_llvm-cb420a4bc066b0b85e50b0c362ae20519d28788c.tar.gz external_llvm-cb420a4bc066b0b85e50b0c362ae20519d28788c.tar.bz2 |
Debug Info: improve the verifier to check field types.
Make sure the context field of DIType is MDNode.
Fix testing cases to make them pass the verifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/GlobalOpt/2009-03-05-dbg.ll')
-rw-r--r-- | test/Transforms/GlobalOpt/2009-03-05-dbg.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/2009-03-05-dbg.ll b/test/Transforms/GlobalOpt/2009-03-05-dbg.ll index 48e8bfa..0eff6c3 100644 --- a/test/Transforms/GlobalOpt/2009-03-05-dbg.ll +++ b/test/Transforms/GlobalOpt/2009-03-05-dbg.ll @@ -57,7 +57,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone !0 = metadata !{i32 458804, i32 0, metadata !1, metadata !"Stop", metadata !"Stop", metadata !"", metadata !1, i32 2, metadata !2, i1 true, i1 true, i32* @Stop} ; [ DW_TAG_variable ] !1 = metadata !{i32 458769, i32 0, i32 1, metadata !"g.c", metadata !"/tmp", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] -!2 = metadata !{i32 458788, metadata !1, metadata !"int", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] +!2 = metadata !{i32 458788, null, metadata !1, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !3 = metadata !{i32 459009, metadata !4, metadata !"i", metadata !1, i32 4, metadata !2} ; [ DW_TAG_arg_variable ] !4 = metadata !{i32 458798, i32 0, metadata !1, metadata !"foo", metadata !"foo", metadata !"foo", i32 4, metadata !5, i1 false, i1 true, i32 0, i32 0, null, i32 0, i32 0, null, null, null, null, i32 0} ; [ DW_TAG_subprogram ] !5 = metadata !{i32 458773, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !6, i32 0, null} ; [ DW_TAG_subroutine_type ] |