1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/WebAssembly
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
..
annotations.s
array-fill.ll
assembler-binary.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
atomics-encodings.s [WebAssembly] Add atomic.fence instruction 2019-08-28 23:13:43 +00:00
bad-fixup-expr.s
basic-assembly-errors.s
basic-assembly.s [WebAssembly] Allow multivalue types in block signature operands 2019-10-15 18:28:22 +00:00
blockaddress.ll Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
bss.ll
bulk-memory-encodings.s
comdat.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
compile-twice.ll
custom-code-section.ll
custom-sections.ll
data-section.s [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
data-symbol-in-text-section.ll Revert "[Support] make report_fatal_error abort instead of exit" 2020-01-15 17:52:25 -08:00
debug-info.ll [WebAssembly] Track frame registers through VReg and local allocation 2020-01-17 17:23:56 -08:00
debug-localvar.ll [WebAssembly] Track frame registers through VReg and local allocation 2020-01-17 17:23:56 -08:00
dwarfdump.ll [WebAssembly] Track frame registers through VReg and local allocation 2020-01-17 17:23:56 -08:00
event-section.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
explicit-sections.ll
export-name.s [WebAssembly] Add new export_name clang attribute for controlling wasm export names 2019-12-11 11:54:57 -08:00
external-data.ll
external-func-address.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
file-headers.ll
func-address.ll
function-alias.ll
function-sections.ll
global-ctor-dtor.ll
import-module.s [WebAssebmly][MC] Support .import_name/.import_field asm directives 2019-12-06 15:09:56 -08:00
libcall.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
lit.local.cfg
no-dead-strip.ll [WebAssembly] Make __attribute__((used)) not imply export. 2019-08-29 22:40:00 +00:00
null-output.s
objdump.s
offset.ll
reloc-code.ll
reloc-data.ll
reloc-pic.s [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
sections.ll
simd-encodings.s [WebAssembly] Implement SIMD {i8x16,i16x8}.avgr_u instructions 2019-12-17 15:05:50 -08:00
stack-ptr.ll
tail-call-encodings.s
type-index.s [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
types.ll [WebAssembly] Allow multivalue signatures in object files 2019-10-18 20:27:30 +00:00
unnamed-data.ll
visibility.ll
weak-alias.s [WebAssembly] Convert MC tests to from bitcode to asm 2019-12-17 11:30:57 -08:00
weak.s [WebAssembly] Convert MC tests to from bitcode to asm 2019-12-17 11:30:57 -08:00