Debug Info Verifier: verify SPs in llvm.dbg.sp.
authorManman Ren <manman.ren@gmail.com>
Sat, 27 Jul 2013 01:26:08 +0000 (01:26 +0000)
committerManman Ren <manman.ren@gmail.com>
Sat, 27 Jul 2013 01:26:08 +0000 (01:26 +0000)
commit2d69cc4baec46899cef88e14d8b9baf1c196fbcd
tree130666d4dec619d91929f9be2624f7011994a733
parentb66d765993211e907f9c06f923d6830c33016044
Debug Info Verifier: verify SPs in llvm.dbg.sp.

Also always add DIType, DISubprogram and DIGlobalVariable to the list
in DebugInfoFinder without checking them, so we can verify them later
on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187285 91177308-0d34-0410-b5e6-96231b3b80d8
38 files changed:
lib/IR/DebugInfo.cpp
test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
test/CodeGen/ARM/2010-04-15-ScavengerDebugValue.ll
test/CodeGen/ARM/2010-08-04-StackVariable.ll
test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
test/CodeGen/ARM/debug-info-arg.ll
test/CodeGen/ARM/debug-info-branch-folding.ll
test/CodeGen/ARM/debug-info-qreg.ll
test/CodeGen/Hexagon/hwloop-dbg.ll
test/CodeGen/Inputs/DbgValueOtherTargets.ll
test/CodeGen/X86/2010-05-26-DotDebugLoc.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/dwarf-comp-dir.ll
test/DebugInfo/2009-11-03-InsertExtractValue.ll
test/DebugInfo/2009-11-05-DeadGlobalVariable.ll
test/DebugInfo/2009-11-06-NamelessGlobalVariable.ll
test/DebugInfo/2010-01-05-DbgScope.ll
test/DebugInfo/2010-03-30-InvalidDbgInfoCrash.ll
test/DebugInfo/2010-04-19-FramePtr.ll
test/DebugInfo/2010-07-19-Crash.ll
test/DebugInfo/2010-10-01-crash.ll
test/DebugInfo/X86/2010-08-10-DbgConstant.ll
test/DebugInfo/X86/eh_symbol.ll
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
test/Transforms/InstCombine/debug-line.ll
test/Transforms/LICM/debug-value.ll
test/Transforms/LoopIdiom/debug-line.ll
test/Transforms/LoopRotate/dbgvalue.ll
test/Transforms/SimplifyCFG/branch-fold-dbg.ll
test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
test/Transforms/SimplifyCFG/trap-debugloc.ll
test/Transforms/StripSymbols/2010-06-30-StripDebug.ll
test/Transforms/StripSymbols/2010-07-01-DeadDbgInfo.ll
test/Transforms/StripSymbols/2010-08-25-crash.ll