llvm-6502/test/DebugInfo
Duncan P. N. Exon Smith e3ae958f94 AsmPrinter: Emit the DwarfStringPool offset directly when possible
Change `DwarfStringPool` to calculate byte offsets on-the-fly, and
update `DwarfUnit::getLocalString()` to use a `DIEInteger` instead of a
`DIEDelta` when Dwarf doesn't use relocations (i.e., Mach-O).  This
eliminates another call to `EmitLabelDifference()`, and drops memory
usage from 865 MB down to 861 MB, around 0.5%.

(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238114 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-24 16:14:59 +00:00
..
AArch64 [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
ARM [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
COFF IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
Inputs Temporary delete the test while we're investigating crashes in LLVMObject it causes. 2015-05-20 17:01:06 +00:00
Mips IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
PDB
PowerPC IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
Sparc IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
SystemZ IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
X86 AsmPrinter: Emit the DwarfStringPool offset directly when possible 2015-05-24 16:14:59 +00:00
2009-10-16-Phi.ll
2009-11-03-InsertExtractValue.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-05-DeadGlobalVariable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-06-NamelessGlobalVariable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2009-11-10-CurrentFn.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-01-05-DbgScope.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-12-llc-crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-19-DbgDeclare.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-03-24-MemberFn.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-04-06-NestedFnDbgInfo.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-04-19-FramePtr.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-03-DisableFramePtr.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-03-OriginDIE.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-05-10-MultipleCU.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-06-29-InlinedFnLocalVar.ll AsmPrinter: Emit the DwarfStringPool offset directly when possible 2015-05-24 16:14:59 +00:00
2010-07-19-Crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
2010-10-01-crash.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
accel-table-hash-collisions.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
arm-relocs.test
array.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
block-asan.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
bug_null_debuginfo.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
constant-pointers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
constant-sdnodes-have-dbg-location.ll [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
constantfp-sdnodes-have-dbg-location.ll [DebugInfo] Debug locations for constant SD nodes 2015-05-13 08:58:03 +00:00
cross-cu-inlining.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cross-cu-linkonce-distinct.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cross-cu-linkonce.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cu-range-hole.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cu-ranges.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
dead-argument-order.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debug-info-always-inline.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debug-info-qualifiers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuginfofinder-forward-declaration.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuginfofinder-multiple-cu.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
debuglineinfo.test Make it easier to use DwarfContext with MCJIT 2015-05-21 21:24:32 +00:00
dwarf-public-names.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
dwarfdump-accel.test
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-line-dwo.test
dwarfdump-objc.test
dwarfdump-pubnames.test
dwarfdump-ranges.test
dwarfdump-type-units.test
dwarfdump-zlib.test
empty.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
enum-types.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
enum.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
global.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
gmlt.test
incorrect-variable-debugloc1.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
incorrect-variable-debugloc.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inheritance.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-debug-info-multiret.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-debug-info.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-no-debug-info.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inline-scopes.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inlined-arguments.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
inlined-vars.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
llvm-symbolizer-zlib.test
llvm-symbolizer.test
location-verifier.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
lto-comp-dir.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-order.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-pointers.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
member-pointers.o
missing-abstract-variable.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
missing-abstract-variable.o
multiline.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace_function_definition.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace_inline_function_definition.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
namespace.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
nodebug.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
piece-verifier.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
PR20038.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
restrict.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
sugared-constants.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
template-recursive-void.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
tu-composite.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
tu-member-pointer.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
two-cus-from-same-file.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
typedef.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
unconditional-branch.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
varargs.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
version.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00