llvm-project/llvm/test/Transforms/HotColdSplit
Vedant Kumar 360abb7ee5 [CodeExtractor] Transfer debug info to extracted function
After extracting, fix up debug info in both the old and new functions by

1) Pointing line locations and debug intrinsics to the new subprogram
   scope, and

2) Deleting intrinsics which point to values outside of the new
   function.

Depends on https://reviews.llvm.org/D72795.

Testing: check-llvm, check-clang, a build of LNT in the `-Os -g` config
with "-mllvm -hot-cold-split=1" set, and end-to-end debugging of a toy
program which undergoes splitting to verify that lldb can find
variables, single step, etc. in extracted code.

rdar://45507940

Differential Revision: https://reviews.llvm.org/D72801
2020-01-15 15:38:36 -08:00
..
X86
addr-taken.ll
apply-noreturn-bonus.ll
apply-penalty-for-inputs.ll
apply-penalty-for-outputs.ll
apply-successor-penalty.ll
assumption-cache-invalidation.ll Invalidate assumption cache before outlining. 2019-10-04 22:46:42 +00:00
coldentrycount.ll
delete-use-without-def-dbg-val.ll
duplicate-phi-preds-crash.ll
eh-pads.ll
eh-typeid-for.ll
forward-dfs-reaches-marked-block.ll
lifetime-markers-on-inputs-1.ll
lifetime-markers-on-inputs-2.ll
mark-the-whole-func-cold.ll
minsize.ll
multiple-exits.ll
noreturn.ll HotColdSplitting: Do not outline within noreturn functions 2019-12-19 14:06:24 -08:00
outline-cold-asm.ll
outline-disjoint-diamonds.ll
outline-if-then-else.ll
outline-multiple-entry-region.ll
outline-while-loop.ll
phi-with-distinct-outlined-values.ll
region-overlap.ll
resume.ll
retain-section.ll Fix failing testcase to check for the correct output 2019-12-02 16:19:35 -08:00
sink-multiple-bitcasts-of-allocas-pr42451.ll
split-cold-2.ll
split-out-dbg-label.ll [CodeExtractor] Transfer debug info to extracted function 2020-01-15 15:38:36 -08:00
split-out-dbg-val-of-arg.ll
split-phis-in-exit-blocks.ll
succ-block-with-self-edge.ll
swifterror.ll
transfer-debug-info.ll [CodeExtractor] Transfer debug info to extracted function 2020-01-15 15:38:36 -08:00
unwind.ll
update-split-loop-metadata.ll [CodeExtractor] Transfer debug info to extracted function 2020-01-15 15:38:36 -08:00