1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Adrian Prantl 73fb46a3c5 Salvage debug info for function arguments in coro-split funclets.
This patch improves the availability for variables stored in the
coroutine frame by emitting an alloca to hold the pointer to the frame
object and rewriting dbg.declare intrinsics to point inside the frame
object using salvaged DIExpressions. Finally, a new alloca is created
in the funclet to hold the FramePtr pointer to ensure that it is
available throughout the entire function at -O0.

This path also effectively reverts D90772. The testcase updates
highlight nicely how every removed CHECK for a dbg.value is preceded
by a new CHECK for a dbg.declare.

Thanks to JunMa, Yifeng, and Bruno for their thoughtful reviews!

Differential Revision: https://reviews.llvm.org/D93497

rdar://71866936
2021-01-26 15:01:26 -08:00
..
Analysis [InlineAdvisor] Allow replay of inline decisions for the CGSCC inliner from optimization remarks 2021-01-25 15:38:57 -08:00
AsmParser Revert "Support for instrumenting only selected files or functions" 2021-01-26 12:25:28 -08:00
BinaryFormat [Debuginfo][DW_OP_implicit_pointer] (1/7) Support for DW_OP_LLVM_implicit_pointer 2021-01-15 14:45:04 +05:30
Bitcode Revert "Support for instrumenting only selected files or functions" 2021-01-26 12:25:28 -08:00
Bitstream
CodeGen [GlobalISel][IRTranslator] Ignore the llvm.experimental.noalias.scope.decl intrinsic. 2021-01-26 13:04:11 -08:00
DebugInfo [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
Demangle [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
DWARFLinker [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
ExecutionEngine [ORC] Attempt to auto-claim responsibility for weak defs in ObjectLinkingLayer. 2021-01-27 00:09:40 +11:00
Extensions
FileCheck [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Frontend [OpenMPIRBuilder] Silence compiler warning. NFC. 2021-01-23 21:00:37 -06:00
Fuzzer
FuzzMutate [FuzzMutate] Add mutator to modify instruction flags. 2021-01-23 19:05:20 +00:00
InterfaceStub [llvm-elfabi] Support ELF file that lacks .gnu.hash section 2021-01-26 12:31:52 -08:00
IR Revert "Support for instrumenting only selected files or functions" 2021-01-26 12:25:28 -08:00
IRReader
LineEditor
Linker [llvm-link] Fix for an assertion when linking global with appending linkage 2021-01-23 00:10:42 -08:00
LTO [LTO] Move DisableVerify setting to LTOCodeGenerator class (NFC). 2021-01-24 14:14:40 +00:00
MC Revert "[WebAssembly] MC layer writes table symbols to object files" 2021-01-25 22:32:36 -08:00
MCA [llvm] Use llvm::find (NFC) 2021-01-19 20:19:14 -08:00
Object [Object][WebAssembly] Update format of error messages 2021-01-25 21:12:53 -08:00
ObjectYAML [yaml2obj][obj2yaml] - Improve how we set/dump the sh_entsize field. 2021-01-26 13:33:02 +03:00
Option
Passes [NewPM] Add ExtraVectorizerPasses support 2021-01-26 22:59:10 +01:00
ProfileData [llvm] Use isDigit (NFC) 2021-01-21 19:59:50 -08:00
Remarks
Support [AMDGPU] HSAMD::fromString - replace std::string arg with StringRef. NFCI. 2021-01-26 16:09:39 +00:00
TableGen [llvm] Use pop_back_val (NFC) 2021-01-24 12:18:57 -08:00
Target [ARM] Fix STRT/STRHT/STRBT input/output operands. 2021-01-26 14:00:58 -08:00
Testing
TextAPI [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ToolDrivers
Transforms Salvage debug info for function arguments in coro-split funclets. 2021-01-26 15:01:26 -08:00
WindowsManifest
XRay
CMakeLists.txt