diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-07-26 20:04:30 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-07-26 20:04:30 +0000 |
commit | cc4e4d80fe58c89f48ffe29f24e286ea38f241bf (patch) | |
tree | 618e816dda00db0d0e0c8153374fc5b2581d986e /llvm/test/DebugInfo/X86/enum-fwd-decl.ll | |
parent | 6912415f3fea34364f54e4ef267355e0baf4440c (diff) | |
download | bcm5719-llvm-cc4e4d80fe58c89f48ffe29f24e286ea38f241bf.tar.gz bcm5719-llvm-cc4e4d80fe58c89f48ffe29f24e286ea38f241bf.zip |
Debug Info Verifier: enable verification of DICompileUnit.
We used to call Verify before adding DICompileUnit to the list, and now we
remove the check and always add DICompileUnit to the list in DebugInfoFinder,
so we can verify them later on.
llvm-svn: 187237
Diffstat (limited to 'llvm/test/DebugInfo/X86/enum-fwd-decl.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/enum-fwd-decl.ll | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/X86/enum-fwd-decl.ll b/llvm/test/DebugInfo/X86/enum-fwd-decl.ll index f4ff8b4fe4d..03f590cdd6f 100644 --- a/llvm/test/DebugInfo/X86/enum-fwd-decl.ll +++ b/llvm/test/DebugInfo/X86/enum-fwd-decl.ll @@ -5,12 +5,13 @@ !llvm.dbg.cu = !{!0} -!0 = metadata !{i32 786449, i32 4, metadata !6, metadata !"clang version 3.2 (trunk 165274) (llvm/trunk 165272)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !1, metadata !3, metadata !3, metadata !""} ; [ DW_TAG_compile_unit ] [/tmp/foo.cpp] [DW_LANG_C_plus_plus] +!0 = metadata !{i32 786449, metadata !8, i32 4, metadata !"clang version 3.2 (trunk 165274) (llvm/trunk 165272)", i1 false, metadata !"", i32 0, metadata !1, metadata !1, metadata !1, metadata !3, metadata !3, metadata !""} ; [ DW_TAG_compile_unit ] [/tmp/foo.cpp] [DW_LANG_C_plus_plus] !1 = metadata !{i32 0} !3 = metadata !{metadata !5} !5 = metadata !{i32 786484, i32 0, null, metadata !"e", metadata !"e", metadata !"", metadata !6, i32 2, metadata !7, i32 0, i32 1, i16* @e, null} ; [ DW_TAG_variable ] [e] [line 2] [def] -!6 = metadata !{i32 786473, metadata !"foo.cpp", metadata !"/tmp", null} ; [ DW_TAG_file_type ] -!7 = metadata !{i32 786436, metadata !6, null, metadata !"E", i32 1, i64 16, i64 16, i32 0, i32 4, null, null, i32 0} ; [ DW_TAG_enumeration_type ] [E] [line 1, size 16, align 16, offset 0] [fwd] [from ] +!6 = metadata !{i32 786473, metadata !8} ; [ DW_TAG_file_type ] +!7 = metadata !{i32 786436, metadata !8, null, metadata !"E", i32 1, i64 16, i64 16, i32 0, i32 4, null, null, i32 0} ; [ DW_TAG_enumeration_type ] [E] [line 1, size 16, align 16, offset 0] [fwd] [from ] +!8 = metadata !{metadata !"foo.cpp", metadata !"/tmp"} ; CHECK: DW_TAG_enumeration_type ; CHECK-NEXT: DW_AT_name |