diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-25 06:43:01 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-25 06:43:01 +0000 |
commit | 27ce44d3b4d2111c636fd802920dd0c35b7d6829 (patch) | |
tree | e79d72417eac1bd8cf85fc360eefd9c67afe84af /test/CodeGen/X86/2010-11-02-DbgParameter.ll | |
parent | 4ef7eafa3f823443d1b8921f6020d946612281db (diff) | |
download | external_llvm-27ce44d3b4d2111c636fd802920dd0c35b7d6829.zip external_llvm-27ce44d3b4d2111c636fd802920dd0c35b7d6829.tar.gz external_llvm-27ce44d3b4d2111c636fd802920dd0c35b7d6829.tar.bz2 |
Debug Info: improve the verifier to check field types.
Make sure the context and type fields are MDNodes. We will generate
verification errors if those fields are non-empty strings.
Fix testing cases to make them pass the verifier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-11-02-DbgParameter.ll')
-rw-r--r-- | test/CodeGen/X86/2010-11-02-DbgParameter.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2010-11-02-DbgParameter.ll b/test/CodeGen/X86/2010-11-02-DbgParameter.ll index 51b7dc2..4d68d3d 100644 --- a/test/CodeGen/X86/2010-11-02-DbgParameter.ll +++ b/test/CodeGen/X86/2010-11-02-DbgParameter.ll @@ -17,7 +17,7 @@ declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone !llvm.dbg.cu = !{!2} -!0 = metadata !{i32 786478, metadata !1, metadata !"foo", metadata !"foo", metadata !"", metadata !1, i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i32 (%struct.bar*)* @foo, null, null, metadata !16, i32 3} ; [ DW_TAG_subprogram ] +!0 = metadata !{i32 786478, metadata !17, metadata !1, metadata !"foo", metadata !"foo", metadata !"", i32 3, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i32 (%struct.bar*)* @foo, null, null, metadata !16, i32 3} ; [ DW_TAG_subprogram ] !1 = metadata !{i32 786473, metadata !17} ; [ DW_TAG_file_type ] !2 = metadata !{i32 786449, i32 12, metadata !1, metadata !"clang version 2.9 (trunk 117922)", i1 true, metadata !"", i32 0, null, null, metadata !15, null, null, metadata !""} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 786453, metadata !17, metadata !1, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !4, i32 0, null} ; [ DW_TAG_subroutine_type ] |