forked from OSchip/llvm-project
75819aedf6
Currently each Function points to a DISubprogram and DISubprogram has a scope field. For member functions the scope is a DICompositeType. DIScopes point to the DICompileUnit to facilitate type uniquing. Distinct DISubprograms (with isDefinition: true) are not part of the type hierarchy and cannot be uniqued. This change removes the subprograms list from DICompileUnit and instead adds a pointer to the owning compile unit to distinct DISubprograms. This would make it easy for ThinLTO to strip unneeded DISubprograms and their transitively referenced debug info. Motivation ---------- Materializing DISubprograms is currently the most expensive operation when doing a ThinLTO build of clang. We want the DISubprogram to be stored in a separate Bitcode block (or the same block as the function body) so we can avoid having to expensively deserialize all DISubprograms together with the global metadata. If a function has been inlined into another subprogram we need to store a reference the block containing the inlined subprogram. Attached to https://llvm.org/bugs/show_bug.cgi?id=27284 is a python script that updates LLVM IR testcases to the new format. http://reviews.llvm.org/D19034 <rdar://problem/25256815> llvm-svn: 266446 |
||
---|---|---|
.. | ||
2003-05-29-ArrayFail.ll | ||
2003-09-12-IncorrectPromote.ll | ||
2003-10-29-ArrayProblem.ll | ||
2006-11-07-InvalidArrayPromote.ll | ||
2007-05-29-MemcpyPreserve.ll | ||
2007-11-03-bigendian_apint.ll | ||
2008-01-29-PromoteBug.ll | ||
2008-02-28-SubElementExtractCrash.ll | ||
2008-06-05-loadstore-agg.ll | ||
2008-06-22-LargeArray.ll | ||
2008-08-22-out-of-range-array-promote.ll | ||
2008-09-22-vector-gep.ll | ||
2009-02-02-ScalarPromoteOutOfRange.ll | ||
2009-02-05-LoadFCA.ll | ||
2009-03-04-MemCpyAlign.ll | ||
2009-12-11-NeonTypes.ll | ||
2010-01-18-SelfCopy.ll | ||
2011-05-06-CapturedAlloca.ll | ||
2011-06-08-VectorExtractValue.ll | ||
2011-06-17-VectorPartialMemset.ll | ||
2011-09-22-PHISpeculateInvoke.ll | ||
2011-10-11-VectorMemset.ll | ||
2011-10-22-VectorCrash.ll | ||
2011-11-11-EmptyStruct.ll | ||
AggregatePromote.ll | ||
DifferingTypes.ll | ||
address-space.ll | ||
arraytest.ll | ||
badarray.ll | ||
basictest.ll | ||
bitfield-sroa.ll | ||
copy-aggregate.ll | ||
crash.ll | ||
debuginfo-preserved.ll | ||
inline-vector.ll | ||
lifetime.ll | ||
load-store-aggregate.ll | ||
memcpy-align.ll | ||
memset-aggregate-byte-leader.ll | ||
memset-aggregate.ll | ||
negative-memset.ll | ||
nonzero-first-index.ll | ||
not-a-vector.ll | ||
only-memcpy-uses.ll | ||
phi-cycle.ll | ||
phi-select.ll | ||
phinodepromote.ll | ||
select_promote.ll | ||
sroa-fca.ll | ||
sroa_two.ll | ||
union-fp-int.ll | ||
union-packed.ll | ||
union-pointer.ll | ||
vector_memcpy.ll | ||
vector_promote.ll | ||
vectors-with-mismatched-elements.ll | ||
volatile.ll |