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
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
block-capture.ll
byvalstruct.ll
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
dbg_value_direct.ll
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
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
DW_AT_specification.ll
DW_TAG_friend.ll
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
empty-and-one-elem-array.ll
empty-array.ll
ending-run.ll
enum-class.ll
enum-fwd-decl.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
fission-cu.ll
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
linkage-name.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
lit.local.cfg
low-pc-cu.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
main-file-name.s
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
objc-fwd-decl.ll
op_deref.ll
parameters.ll
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
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
reference-argument.ll
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
struct-loc.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
subrange-type.ll
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
tls.ll
union-template.ll
vector.ll Debug Info Verifier: enable verification of DICompileUnit. 2013-07-26 20:04:30 +00:00
vla.ll