llvm-6502/test/DebugInfo/X86
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
..
2010-04-13-PubType.ll Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00
2010-08-10-DbgConstant.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
2011-09-26-GlobalVarContext.ll Update testing cases to pass debug info verifier. 2013-07-24 22:23:00 +00:00
2011-12-16-BadStructRef.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
aligned_stack_var.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
arguments.ll Move llvm/test/DebugInfo/arguments.ll to X86, for now. It is still Windows' PECOFF incompatible. 2013-06-24 16:05:21 +00:00
block-capture.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
byvalstruct.ll Generate debug info for by-value struct args even if they are not used. 2013-05-16 23:44:12 +00:00
coff_relative_names.ll Bugfix for making the DWARF debug strings and labels to code emitted as secrel32 instead of long opcodes (only for coff). This makes them debuggable with GDB (with fix for 64bits msvc) 2013-08-02 16:14:15 +00:00
concrete_out_of_line.ll Revert "Make sure debug info contains linkage names (DW_AT_MIPS_linkage_name)" 2013-05-09 00:42:33 +00:00
dbg_value_direct.ll Recommit r186217 with testcase fix: 2013-07-22 20:15:21 +00:00
dbg-value-inlined-parameter.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
dbg-value-range.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
debug_frame.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
debug-info-block-captured-self.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
debug-info-blocks.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
debug-info-static-member.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
DW_AT_byte_size.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
DW_AT_location-reference.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
DW_AT_object_pointer.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
DW_AT_specification.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
DW_TAG_friend.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
earlydup-crash.ll Debug Info: update testing cases to pass verifier. 2013-07-29 18:12:58 +00:00
eh_symbol.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
elf-names.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
empty-and-one-elem-array.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
empty-array.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
ending-run.ll Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
enum-class.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
enum-fwd-decl.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
fission-cu.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
generate-odr-hash.ll Move file to X86 and add a triple to fix darwin bots for now. 2013-07-30 00:20:06 +00:00
instcombine-instrinsics.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
line-info.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
linkage-name.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
lit.local.cfg Add support for passing -main-file-name all the way through to 2012-12-18 00:31:01 +00:00
low-pc-cu.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
main-file-name.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
misched-dbg-value.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
multiple-at-const-val.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
nondefault-subrange-array.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
objc-fwd-decl.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
op_deref.ll Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
parameters.ll Reapply an improved version of r180816/180817. 2013-07-09 20:28:37 +00:00
pointer-type-size.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
pr9951.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
pr11300.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
pr12831.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
pr13303.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
prologue-stack.ll Debug Info: improve the verifier to check field types. 2013-07-25 06:43:01 +00:00
reference-argument.ll Un-break the buildbot by tweaking the indirection flag. 2013-07-10 01:53:37 +00:00
rvalue-ref.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
stmt-list-multiple-compile-units.ll Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
stmt-list.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
stringpool.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
struct-loc.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
subrange-type.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
subreg.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
template.ll DebugInfo: Emit definitions for types with no members. 2013-08-01 20:30:22 +00:00
tls-fission.ll PR14728: DebugInfo: TLS variables with -gsplit-dwarf 2013-07-01 23:55:52 +00:00
tls.ll PR16493: DebugInfo with TLS on PPC crashing due to invalid relocation 2013-07-01 21:45:25 +00:00
union-template.ll Revert "Revert "PR14606: debug info imported_module support"" 2013-04-22 06:12:31 +00:00
vector.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
vla.ll Reapply an improved version of r180816/180817. 2013-07-09 20:28:37 +00:00