Debug Info Verifier: enable verification of DICompileUnit.
authorManman Ren <manman.ren@gmail.com>
Fri, 26 Jul 2013 20:04:30 +0000 (20:04 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 26 Jul 2013 20:04:30 +0000 (20:04 +0000)
commitce0a12399c263544bb23920131bd3da60d981b38
treea3912ead2bd9c440acc1d6bb3d3b3df66b10fb7a
parent0fc641df377bf6ea88bbc28b377f6a0810dfa220
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187237 91177308-0d34-0410-b5e6-96231b3b80d8
72 files changed:
lib/IR/DebugInfo.cpp
test/CodeGen/ARM/2009-10-16-Scope.ll
test/CodeGen/ARM/debug-info-d16-reg.ll
test/CodeGen/ARM/debug-info-s16-reg.ll
test/CodeGen/ARM/debug-info-sreg2.ll
test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
test/CodeGen/X86/2009-10-16-Scope.ll
test/CodeGen/X86/2010-01-18-DbgValue.ll
test/CodeGen/X86/2010-02-01-DbgValueCrash.ll
test/CodeGen/X86/2010-05-25-DotDebugLoc.ll
test/CodeGen/X86/2010-07-06-DbgCrash.ll
test/CodeGen/X86/2010-09-16-EmptyFilename.ll
test/CodeGen/X86/2010-11-02-DbgParameter.ll
test/CodeGen/X86/2010-12-02-MC-Set.ll
test/CodeGen/X86/2012-11-30-handlemove-dbg.ll
test/CodeGen/X86/2012-11-30-misched-dbg.ll
test/CodeGen/X86/2012-11-30-regpres-dbg.ll
test/CodeGen/X86/dbg-at-specficiation.ll
test/CodeGen/X86/dbg-const-int.ll
test/CodeGen/X86/dbg-const.ll
test/CodeGen/X86/dbg-declare.ll
test/CodeGen/X86/dbg-file-name.ll
test/CodeGen/X86/dbg-i128-const.ll
test/CodeGen/X86/dbg-merge-loc-entry.ll
test/CodeGen/X86/dwarf-comp-dir.ll
test/CodeGen/X86/unknown-location.ll
test/DebugInfo/2009-11-05-DeadGlobalVariable.ll
test/DebugInfo/2009-11-06-NamelessGlobalVariable.ll
test/DebugInfo/2009-11-10-CurrentFn.ll
test/DebugInfo/2010-03-12-llc-crash.ll
test/DebugInfo/2010-04-06-NestedFnDbgInfo.ll
test/DebugInfo/2010-05-10-MultipleCU.ll
test/DebugInfo/X86/2011-12-16-BadStructRef.ll
test/DebugInfo/X86/DW_AT_byte_size.ll
test/DebugInfo/X86/DW_AT_location-reference.ll
test/DebugInfo/X86/aligned_stack_var.ll
test/DebugInfo/X86/debug-info-block-captured-self.ll
test/DebugInfo/X86/debug-info-static-member.ll
test/DebugInfo/X86/debug_frame.ll
test/DebugInfo/X86/enum-fwd-decl.ll
test/DebugInfo/X86/instcombine-instrinsics.ll
test/DebugInfo/X86/linkage-name.ll
test/DebugInfo/X86/low-pc-cu.ll
test/DebugInfo/X86/misched-dbg-value.ll
test/DebugInfo/X86/multiple-at-const-val.ll
test/DebugInfo/X86/pointer-type-size.ll
test/DebugInfo/X86/pr12831.ll
test/DebugInfo/X86/pr13303.ll
test/DebugInfo/X86/pr9951.ll
test/DebugInfo/X86/rvalue-ref.ll
test/DebugInfo/X86/stmt-list.ll
test/DebugInfo/X86/struct-loc.ll
test/DebugInfo/X86/subreg.ll
test/DebugInfo/X86/vector.ll
test/DebugInfo/array.ll
test/DebugInfo/bug_null_debuginfo.ll
test/DebugInfo/dwarf-public-names.ll
test/DebugInfo/inheritance.ll
test/DebugInfo/member-pointers.ll
test/Linker/2011-08-04-DebugLoc.ll
test/Linker/2011-08-04-DebugLoc2.ll
test/Linker/2011-08-04-Metadata.ll
test/Linker/2011-08-04-Metadata2.ll
test/Linker/2011-08-18-unique-class-type.ll
test/Linker/2011-08-18-unique-class-type2.ll
test/Linker/2011-08-18-unique-debug-type.ll
test/Linker/2011-08-18-unique-debug-type2.ll
test/Linker/DbgDeclare.ll
test/Linker/DbgDeclare2.ll
test/Transforms/GCOVProfiling/linkagename.ll
test/Transforms/GCOVProfiling/version.ll
test/Transforms/GlobalOpt/2009-03-05-dbg.ll