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)
commit921382ed786805c81a961a2f8ccf5c8fd05f5527
tree4ba7bd4d0a81b8a19aae432d624f4014171bb798
parentcd1e8930ae3bb7c36d8b629b41bc960c55ea569f
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.

llvm-svn: 187285
38 files changed:
llvm/lib/IR/DebugInfo.cpp
llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll
llvm/test/CodeGen/ARM/2010-04-15-ScavengerDebugValue.ll
llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll
llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
llvm/test/CodeGen/ARM/debug-info-arg.ll
llvm/test/CodeGen/ARM/debug-info-branch-folding.ll
llvm/test/CodeGen/ARM/debug-info-qreg.ll
llvm/test/CodeGen/Hexagon/hwloop-dbg.ll
llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll
llvm/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
llvm/test/CodeGen/X86/2012-11-30-handlemove-dbg.ll
llvm/test/CodeGen/X86/2012-11-30-misched-dbg.ll
llvm/test/CodeGen/X86/2012-11-30-regpres-dbg.ll
llvm/test/CodeGen/X86/dbg-at-specficiation.ll
llvm/test/CodeGen/X86/dwarf-comp-dir.ll
llvm/test/DebugInfo/2009-11-03-InsertExtractValue.ll
llvm/test/DebugInfo/2009-11-05-DeadGlobalVariable.ll
llvm/test/DebugInfo/2009-11-06-NamelessGlobalVariable.ll
llvm/test/DebugInfo/2010-01-05-DbgScope.ll
llvm/test/DebugInfo/2010-03-30-InvalidDbgInfoCrash.ll
llvm/test/DebugInfo/2010-04-19-FramePtr.ll
llvm/test/DebugInfo/2010-07-19-Crash.ll
llvm/test/DebugInfo/2010-10-01-crash.ll
llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll
llvm/test/DebugInfo/X86/eh_symbol.ll
llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
llvm/test/Transforms/InstCombine/debug-line.ll
llvm/test/Transforms/LICM/debug-value.ll
llvm/test/Transforms/LoopIdiom/debug-line.ll
llvm/test/Transforms/LoopRotate/dbgvalue.ll
llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll
llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
llvm/test/Transforms/SimplifyCFG/trap-debugloc.ll
llvm/test/Transforms/StripSymbols/2010-06-30-StripDebug.ll
llvm/test/Transforms/StripSymbols/2010-07-01-DeadDbgInfo.ll
llvm/test/Transforms/StripSymbols/2010-08-25-crash.ll