1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/MC
Sam Clegg 9f1012760e [WebAssembly] Use __stack_pointer global when writing wasm binary
This ensures that symbolic relocations are generated for stack
pointer manipulations.

These relocations are of type R_WEBASSEMBLY_GLOBAL_INDEX_LEB.
This change also adds support for reading relocations of this
type in WasmObjectFile.cpp.

Since its a globally imported symbol this does mean that
the get_global/set_global instruction won't be valid until
the objects are linked that global used in no longer an
imported global.

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

llvm-svn: 305616
2017-06-16 23:59:10 +00:00
..
AArch64 [MC] Fix constant pools with DenseMap sentinel values 2017-05-30 09:37:11 +00:00
AMDGPU AMDGPU: Start adding offset fields to flat instructions 2017-06-12 15:55:58 +00:00
ARM [ARM] Create relocations for unconditional branches. 2017-06-07 08:54:47 +00:00
AsmParser [MC] Fix compiler crash in AsmParser::Lex 2017-06-09 14:04:03 +00:00
AVR [AVR] Fix a bug so that we now emit R_AVR_16 fixups with the correct offset 2017-04-30 23:33:52 +00:00
COFF IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
Disassembler [Power9] Added support for the modsw, moduw, modsd, modud hardware instructions. 2017-06-12 17:58:42 +00:00
ELF MC, Object: Reserve a section type, SHT_LLVM_ODRTAB, for the ODR table. 2017-06-14 18:52:12 +00:00
Hexagon [Hexagon] Change iconst to emit 27bit relocation 2017-05-02 18:19:11 +00:00
Lanai [lanai] Add more tests for assembly of conditional ALU ops 2016-07-11 17:58:16 +00:00
MachO IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
Markup
Mips [mips][dsp] Modify repl.ph to accept signed immediate values 2017-06-07 14:48:46 +00:00
PowerPC [Power9] Added support for the modsw, moduw, modsd, modud hardware instructions. 2017-06-12 17:58:42 +00:00
Sparc [Sparc] Remove execute permissions from non-executable text files 2017-05-17 11:05:20 +00:00
SystemZ [SystemZ] Add decimal floating-point instructions 2017-05-30 10:15:16 +00:00
WebAssembly [WebAssembly] Use __stack_pointer global when writing wasm binary 2017-06-16 23:59:10 +00:00
X86 The fix for PR22004: X86AsmParser.cpp asserts: OperandStack.size() > 1 && "Too few operands." 2017-05-26 13:23:34 +00:00