llvm-capstone/lld/wasm
Andy Wingo 48219d06b1 [lld][WebAssembly] Fix resolveIndirectFunctionTable for relocatable output
For relocatable output that needs the indirect function table, identify
the well-known function table.  This allows us to properly fix the
limits on the imported table, and in a followup will allow the element
section to reference the indirect function table even if it's not
assigned to table number 0.  Adapt tests for import reordering.

Differential Revision: https://reviews.llvm.org/D96770
2021-02-18 09:33:54 +01:00
..
CMakeLists.txt [lld][WebAssembly] Add initial support for -Map/--print-map 2020-09-12 16:10:51 -07:00
Config.h [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
Driver.cpp [lld][WebAssembly] Fix resolveIndirectFunctionTable for relocatable output 2021-02-18 09:33:54 +01:00
InputChunks.cpp [lld][WebAssembly] Delay the merging of data section when dynamic linking 2021-02-11 10:54:15 -08:00
InputChunks.h [lld][WebAssembly] Delay the merging of data section when dynamic linking 2021-02-11 10:54:15 -08:00
InputElement.h [lld][WebAssembly] Common superclass for input globals/events/tables 2021-02-11 14:54:45 +01:00
InputFiles.cpp [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
InputFiles.h [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
LTO.cpp [LTO][wasm][NewPM] Allow using new pass manager for wasm LTO 2020-12-01 12:22:40 -08:00
LTO.h
MapFile.cpp [lld][WebAssembly] Delay the merging of data section when dynamic linking 2021-02-11 10:54:15 -08:00
MapFile.h [lld][WebAssembly] Add initial support for -Map/--print-map 2020-09-12 16:10:51 -07:00
MarkLive.cpp [lld][WebAssembly] Common superclass for input globals/events/tables 2021-02-11 14:54:45 +01:00
MarkLive.h
Options.td [lld] Consistent help text for --save-temps 2021-01-25 10:27:18 -08:00
OutputSections.cpp [WebAssembly] fixed wasm64 data segment init exp not 64-bit 2021-02-01 11:32:50 -08:00
OutputSections.h [lld][WebAssembly] Add initial support for -Map/--print-map 2020-09-12 16:10:51 -07:00
OutputSegment.h [lld][WebAssembly] Delay the merging of data section when dynamic linking 2021-02-11 10:54:15 -08:00
Relocations.cpp [lld][WebAssembly] Ensure stub symbols always get address 0 2020-11-25 18:26:34 -08:00
Relocations.h
Symbols.cpp [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
Symbols.h [WebAssembly] Add support for table linking to wasm-ld 2021-01-18 16:57:18 +01:00
SymbolTable.cpp [lld][WebAssembly] Common superclass for input globals/events/tables 2021-02-11 14:54:45 +01:00
SymbolTable.h [lld][WebAssembly] Fix typo in function name 2021-02-08 19:41:01 -08:00
SyntheticSections.cpp [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
SyntheticSections.h [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
Writer.cpp [WebAssembly][lld] Preassign table number 0 to indirect function table for MVP inputs 2021-02-12 20:20:19 +01:00
Writer.h
WriterUtils.cpp [lld][WebAssembly] Common superclass for input globals/events/tables 2021-02-11 14:54:45 +01:00
WriterUtils.h [lld][WebAssembly] Common superclass for input globals/events/tables 2021-02-11 14:54:45 +01:00