1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib
Sam Clegg a3e0bfc296 Revert "[WebAssembly] call_indirect issues table number relocs"
This reverts commit 418df4a6ab35d343cc0f2608c90a73dd9b8d0ab1.

This change broke emscripten tests, I believe because it started
generating 5-byte a wide table index in the call_indirect instruction.
Neither v8 nor wabt seem to be able to handle that.  The spec
currently says that this is single 0x0 byte and:

"In future versions of WebAssembly, the zero byte occurring in the
encoding of the call_indirectcall_indirect instruction may be used to
index additional tables."

So we need to revisit this change.  For backwards compat I guess
we need to guarantee that __indirect_function_table is always at
address zero.   We could also consider making this a single-byte
relocation with and assert if have more than 127 tables (for now).

Differential Revision: https://reviews.llvm.org/D95005
2021-01-19 15:06:07 -08:00
..
Analysis [noalias.decl] Look through llvm.experimental.noalias.scope.decl 2021-01-19 20:09:42 +01:00
AsmParser [X86] Add x86_amx type for intel AMX. 2020-12-30 13:52:13 +08:00
BinaryFormat [Debuginfo][DW_OP_implicit_pointer] (1/7) Support for DW_OP_LLVM_implicit_pointer 2021-01-15 14:45:04 +05:30
Bitcode [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Bitstream [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
CodeGen [noalias.decl] Look through llvm.experimental.noalias.scope.decl 2021-01-19 20:09:42 +01:00
DebugInfo Revert "[PDB] Defer relocating .debug$S until commit time and parallelize it" 2021-01-19 11:45:48 -08:00
Demangle [llvm] Remove redundant return and continue statements (NFC) 2021-01-14 20:30:34 -08:00
DWARFLinker [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ExecutionEngine [ORC] Move LookupRequest from OrcShared to Orc. 2021-01-19 20:23:47 +11:00
Extensions
FileCheck [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
Frontend [OpenMPOpt][WIP] Expand parallel region merging 2021-01-11 08:06:23 -08:00
Fuzzer
FuzzMutate
InterfaceStub [llvm-elfabi] Add flag to preserve timestamp when output is the same 2020-12-29 20:27:06 -08:00
IR [IR] Allow scalable vectors in structs to support intrinsics returning multiple values. 2021-01-17 23:29:51 -08:00
IRReader static const char *const foo => const char foo[] 2020-12-01 10:33:18 -08:00
LineEditor
Linker [ExecutionEngine, Linker] Use erase_if (NFC) 2020-12-23 21:44:39 -08:00
LTO [LTO] Remove options to disable inlining, vectorization & GVNLoadPRE. 2021-01-16 16:29:15 +00:00
MC Revert "[WebAssembly] call_indirect issues table number relocs" 2021-01-19 15:06:07 -08:00
MCA [llvm] Use llvm::append_range (NFC) 2021-01-06 18:27:33 -08:00
Object [WebAssembly] Change prefix on data segment flags to WASM_DATA_SEGMENT 2021-01-19 09:40:42 +01:00
ObjectYAML [WebAssembly] Change prefix on data segment flags to WASM_DATA_SEGMENT 2021-01-19 09:40:42 +01:00
Option [llvm] Simplify string comparisons (NFC) 2021-01-11 18:48:09 -08:00
Passes [LoopRotate] Add PrepareForLTO stage, avoid rotating with inline cands. 2021-01-19 10:15:29 +00:00
ProfileData [llvm] Populate std::vector at construction time (NFC) 2021-01-18 10:16:33 -08:00
Remarks
Support [llvm] Protect signpost map with a mutex 2021-01-19 11:41:54 -08:00
TableGen [TableGen] Enhance !cast<string> to handle bit and bits types. 2021-01-14 10:20:35 -05:00
Target Revert "[WebAssembly] call_indirect issues table number relocs" 2021-01-19 15:06:07 -08:00
Testing
TextAPI [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
ToolDrivers
Transforms Revert "[SLP]Merge reorder and reuse shuffles." 2021-01-19 11:48:04 -08:00
WindowsManifest
XRay [lib/Object, tools] - Make ELFObjectFile::getELFFile return reference. 2020-12-04 16:02:29 +03:00
CMakeLists.txt