1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC
Derek Schuff ce9124de54 [WebAssembly] Track frame registers through VReg and local allocation
This change has 2 components:

Target-independent: add a method getDwarfFrameBase to TargetFrameLowering. It
describes how the Dwarf frame base will be encoded.  That can be a register (the
default), the CFA (which replaces NVPTX-specific logic in DwarfCompileUnit), or
a DW_OP_WASM_location descriptr.

WebAssembly: Allow WebAssemblyFunctionInfo::getFrameRegister to return the
correct virtual register instead of FP32/SP32 after WebAssemblyReplacePhysRegs
has run.  Make WebAssemblyExplicitLocals store the local it allocates for the
frame register. Use this local information to implement getDwarfFrameBase

The result is that the DW_AT_frame_base attribute is correctly encoded for each
subprogram, and each param and local variable has a correct DW_AT_location that
uses DW_OP_fbreg to refer to the frame base.

Differential Revision: https://reviews.llvm.org/D71681
2020-01-16 13:51:17 -08:00
..
AArch64 [AArch64] Emit HINT instead of PAC insns in Armv8.2-A or below 2020-01-13 14:14:48 +00:00
AMDGPU AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16 2020-01-15 08:58:58 -05:00
ARM [MC][test] Fix non-portable GNU diff option 2020-01-16 11:29:24 -05:00
AsmParser [MC][test] Fix non-portable GNU diff option 2020-01-16 11:29:24 -05:00
AVR Fixup AVR tests to reflect changes in addend format in llvm-objdump 2019-11-19 15:32:58 +00:00
BPF [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
COFF Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
Disassembler Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
ELF Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
Hexagon Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
Lanai [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
MachO Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
Mips Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
MSP430 [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
PowerPC Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
RISCV Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
Sparc [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
SystemZ [SystemZ] Improve handling of huge PC relative immediate offsets. 2019-11-04 10:38:18 +01:00
WebAssembly [WebAssembly] Track frame registers through VReg and local allocation 2020-01-16 13:51:17 -08:00
X86 Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00