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 1e2fb2b2c4 [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.

This is a reland of rG3a05c3969c18 with fixes for the expensive-checks
and Windows builds

Differential Revision: https://reviews.llvm.org/D71681
2020-01-17 17:23:56 -08:00
..
AArch64 [AArch64] Make AArch64 specific assembly directives case insensitive 2020-01-17 16:16:18 +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 [AsmParser] Make generic directives and aliases case insensitive. 2020-01-17 11:02:56 +00: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 [Hexagon] Move testcase from c1873631d0a8f2acc to proper location 2020-01-17 12:34:50 -06: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-17 17:23:56 -08:00
X86 Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00