llvm-project/llvm/test/MC/WebAssembly
Yuta Saito aa0c571a5f [WebAssembly] Add new relocation for location relative data
This `R_WASM_MEMORY_ADDR_SELFREL_I32` relocation represents an offset
between its relocating address and the symbol address. It's very similar
to `R_X86_64_PC32` but restricted to be used for only data segments.

```
S + A - P
```

A: Represents the addend used to compute the value of the relocatable
field.
P: Represents the place of the storage unit being relocated.
S: Represents the value of the symbol whose index resides in the
relocation entry.

Proposal: https://github.com/WebAssembly/tool-conventions/issues/162

Differential Revision: https://reviews.llvm.org/D96659
2021-03-08 11:34:10 -08:00
..
alias-offset.s [MC][WebAssembly] Fix provisional values for data alias relocations 2021-02-08 16:56:57 -08:00
alias.s
annotations.s [WebAssembly] Update InstPrinter and AsmParser for new EH instructions 2021-02-06 08:54:56 -08:00
array-fill.ll
assembler-binary.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
atomics-encodings.s [WebAssembly] Rename atomic.notify and *.atomic.wait 2020-11-13 12:04:48 -08:00
bad-fixup-expr.s [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00
basic-assembly-errors.s [WebAssembly] Update InstPrinter and AsmParser for new EH instructions 2021-02-06 08:54:56 -08:00
basic-assembly.s [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
blockaddress.ll
bss.ll
bulk-memory-encodings.s
call-indirect-relocs.s [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
comdat-sections.ll [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
comdat-sections.s [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
comdat.ll [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
compile-twice.ll
custom-code-section.ll
custom-sections.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
data-section-combined.s [WebAssembly] Use data sections by default 2021-02-09 11:03:06 -08:00
data-section.s [WebAssembly] fixed wasm64 data segment init exp not 64-bit 2021-02-01 11:32:50 -08:00
data-symbol-in-text-section.ll
debug-byval-struct.ll [WebAssembly] locals can now be indirect in DWARF 2021-02-05 11:14:42 -08:00
debug-info.ll Revert "[WebAssembly] MC layer writes table symbols to object files" 2021-01-25 22:32:36 -08:00
debug-info64.ll Revert "[WebAssembly] MC layer writes table symbols to object files" 2021-01-25 22:32:36 -08:00
debug-localvar.ll llvm-dwarfdump: Dump address forms in their encoded length rather than always in 64 bits 2020-10-04 15:48:57 -07:00
dwarfdump.ll [WebAssembly] Fix split-dwarf not emitting DW_OP_WASM_location correctly 2021-03-01 11:53:30 -08:00
dwarfdump64.ll [WebAssembly] Added R_WASM_FUNCTION_OFFSET_I64 for use with DWARF DW_AT_low_pc 2020-11-13 09:32:31 -08:00
event-section.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
explicit-sections.ll
export-name.s
external-data.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
external-func-address.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
externref.s
file-headers.ll
func-address.ll
function-alias.ll [WebAssembly] call_indirect issues table number relocs 2021-03-01 16:49:00 +01:00
function-sections.ll
global-ctor-dtor.ll Revert "[WebAssembly] MC layer writes table symbols to object files" 2021-01-25 22:32:36 -08:00
globals.s [WebAssembly] Add assembly syntax for mutable globals 2020-09-11 11:11:02 -07:00
import-module.s
libcall.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
lit.local.cfg
missing-features.s
no-dead-strip.ll
null-output.s
objdump.s [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
offset.ll
reference-types.s [WebAssembly] Support select and block for reference types 2020-12-01 19:16:57 -08:00
reloc-code.ll [WebAssembly] call_indirect issues table number relocs 2021-03-01 16:49:00 +01:00
reloc-data.ll
reloc-pic.s [WebAssembly] call_indirect issues table number relocs 2021-03-01 16:49:00 +01:00
reloc-relative.ll [WebAssembly] Add new relocation for location relative data 2021-03-08 11:34:10 -08:00
section-symbol.s [WebAssembly] Fix assert in lookup of section symbols 2021-02-18 11:50:14 -08:00
sections.ll
simd-encodings.s [WebAssembly] Prototype i8x16 to i32x4 widening instructions 2021-01-28 10:59:32 -08:00
stack-ptr.ll
tables.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
tail-call-encodings.s [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
tls.s Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
type-index.s [WebAssembly] Swap operand order of call_indirect in text format 2021-03-03 08:51:21 +01:00
types.ll
unnamed-data.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
visibility.ll
wasm64.s [WebAssembly] fixed wasm64 data segment init exp not 64-bit 2021-02-01 11:32:50 -08:00
weak-alias.s [WebAssembly] call_indirect issues table number relocs 2021-03-01 16:49:00 +01:00
weak.s