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 llvm-symbolizer: add support for Mach-O universal binaries 2013-06-28 08:15:40 +00:00
PowerPC [PowerPC] Support TLS variables in debug info 2013-07-02 18:47:35 +00:00
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 add newlines at the end of files. 2010-04-07 22:53:17 +00:00
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 Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
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 Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. 2013-01-26 00:28:05 +00:00
dwarf-public-names.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
dwarfdump-debug-frame-simple.test Previously, parsing capability of the .debug_frame section was added 2013-02-21 22:53:19 +00:00
dwarfdump-debug-loc-simple.test Spell correct (s/begining/beginning/) 2013-06-19 21:42:05 +00:00
dwarfdump-dump-flags.test Add command-line flags for DWARF dumping. 2013-01-25 20:26:43 +00:00
dwarfdump-inlining.test Update tests for DWARF parser: store sources next to pre-built object files and provide build instructions 2013-02-08 14:34:33 +00:00
dwarfdump-pubnames.test Add testcase for llvm-dwarfdump to test parsing of the pubnames data. 2013-02-14 16:10:58 +00:00
dwarfdump-test.test llvm-symbolizer: correctly parse filenames given in quotes 2013-04-05 09:22:24 +00:00
dwarfdump-zlib.test Use zlib to uncompress debug sections in DWARF parser. 2013-04-23 10:17:34 +00:00
enum.ll DebugInfo: add some testing from an overly broad end-to-end test in Clang 2013-06-24 06:47:22 +00:00
global.ll DebugInfo: Consider global variables without locations to be valid 2013-07-04 23:15:18 +00:00
inheritance.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
inline-debug-info-multiret.ll Set debug locations for branch instructions created during inlining, even 2013-04-30 17:08:16 +00:00
inline-debug-info.ll Improve documentation. 2013-04-29 22:25:52 +00:00
inlined-arguments.ll Add 'REQUIRES: object-emission' to DebugInfo/inlined-arguments.ll. 2013-07-02 19:21:43 +00:00
inlined-vars.ll Debug Info: enable verifier for testing cases. 2013-07-29 20:18:19 +00:00
lit.local.cfg Improve behavior of DebugInfoEntryMinimal::getSubprogramName() introduced in r159512. 2012-07-17 15:28:35 +00:00
llvm-symbolizer.test llvm-symbolizer: Recognize a drive letter on win32. Then "REQUIRES: shell" can be removed. 2013-07-01 09:51:42 +00:00
member-pointers.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
namespace.ll PR14606: Debug Info for namespace aliases/DW_TAG_imported_module 2013-05-20 22:50:35 +00:00
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 Trying to fix the bots 2013-07-03 00:16:11 +00:00