llvm-6502/test/DebugInfo
Manman Ren f40d578d7e Debug Info Finder|Verifier: handle DbgLoc attached to instructions.
Also remove checking of llvm.dbg.sp since it is not used in generating dwarf.

Current state of Finder:
DebugInfoFinder tries to list all debug info MDNodes used in a module. To
list debug info MDNodes used by an instruction, DebugInfoFinder provides
processDeclare, processValue and processLocation to handle DbgDeclareInst,
DbgValueInst and DbgLoc attached to instructions. processModule will go
through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes
used by the CUs.

TODO:
1> Finder has a list of CUs, SPs, Types, Scopes and global variables. We
need to add a list of variables that are used by DbgDeclareInst and
DbgValueInst.
2> MDString fields should be null or isa<MDString> and MDNode fields should be
null or isa<MDNode>. We currently use empty string or int 0 to represent null.
3> Go though Verify functions and make sure that they check field types.
4> Clean up existing testing cases to remove llvm.dbg.sp and make sure each
testing case has a llvm.dbg.cu.

Re-apply r187609 with fix to pass ocaml binding. vmcore.ml generates a debug
location with scope being metadata !{}, in verifier we treat this as a null
scope.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187812 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-06 19:38:43 +00:00
..
AArch64 Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
Inputs
PowerPC
SystemZ Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
X86 Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2009-11-05-DeadGlobalVariable.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2009-11-06-NamelessGlobalVariable.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2009-11-10-CurrentFn.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
2010-01-05-DbgScope.ll Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00
2010-01-19-DbgScope.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
2010-03-12-llc-crash.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
2010-03-19-DbgDeclare.ll
2010-03-24-MemberFn.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
2010-03-30-InvalidDbgInfoCrash.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2010-04-06-NestedFnDbgInfo.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
2010-04-19-FramePtr.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2010-05-03-DisableFramePtr.ll Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00
2010-05-03-OriginDIE.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
2010-05-10-MultipleCU.ll Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00
2010-06-29-InlinedFnLocalVar.ll fix for LLVM debug info on llvm-mips-linux where the label name uses % instead of L as a prefix. 2013-08-01 22:15:34 +00:00
2010-07-19-Crash.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2010-10-01-crash.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
array.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
bug_null_debuginfo.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
debuglineinfo.test
dwarf-public-names.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-inlining.test
dwarfdump-pubnames.test
dwarfdump-test.test
dwarfdump-zlib.test
enum.ll
global.ll
inheritance.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
inline-debug-info-multiret.ll
inline-debug-info.ll
inlined-arguments.ll
inlined-vars.ll Debug Info: enable verifier for testing cases. 2013-07-29 20:18:19 +00:00
lit.local.cfg
llvm-symbolizer.test
member-pointers.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
namespace.ll
two-cus-from-same-file.ll Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
version.ll