llvm-project/lld/wasm
Sam Clegg 6912ed7b8f [lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie or --relocatable modes
Add some checks around this combination of flags

Also, honor `--global-base` when specified in `--stack-first` mode
rather than ignoring it.  But error out if the specified base preseeds
the end of the stack.

Differential Revision: https://reviews.llvm.org/D136117
2022-10-18 17:19:26 -07:00
..
CMakeLists.txt Reland: "[lld][WebAssembly] Initial support merging string data" 2021-05-10 16:03:38 -07:00
Config.h [lld][WebAssembly] Add `--extra-features` flag to add addional features 2022-10-13 09:25:02 -07:00
Driver.cpp [lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie or --relocatable modes 2022-10-18 17:19:26 -07:00
InputChunks.cpp [lld] Use value_or instead of getValueOr (NFC) 2022-06-19 00:29:41 -07:00
InputChunks.h Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
InputElement.h Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
InputFiles.cpp Don't use Optional::hasValue (NFC) 2022-06-20 11:33:56 -07:00
InputFiles.h [MC][WebAssembly] Fix crash when relocation addend underlows U32 2022-02-25 07:13:15 -08:00
LTO.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
LTO.h
MapFile.cpp [lld] Don't include SetVector.h (NFC) 2022-09-17 13:36:15 -07:00
MapFile.h
MarkLive.cpp [lld][WebAssembly] Rename SymbolTable::getSymbols to match ELF backend. NFC 2022-08-31 14:33:45 -07:00
MarkLive.h
Options.td [lld][WebAssembly] Add `--extra-features` flag to add addional features 2022-10-13 09:25:02 -07:00
OutputSections.cpp Use llvm::count_if (NFC) 2022-09-03 11:17:35 -07:00
OutputSections.h [lld][WebAssembly] Cleanup output of --verbose 2021-09-10 11:35:50 -04:00
OutputSegment.cpp [lld][WebAssembly] Remove unnecessary accessor methods. NFC 2022-06-03 11:43:44 -07:00
OutputSegment.h [lld][WebAssembly] Initialize bss segments using memory.fill 2021-10-28 17:15:08 -07:00
Relocations.cpp [lld][WebAssembly] Add --unresolved-symbols=import-dynamic 2022-03-15 15:10:21 -07:00
Relocations.h
SymbolTable.cpp [lld] Don't include SetVector.h (NFC) 2022-09-17 13:36:15 -07:00
SymbolTable.h [lld][WebAssembly] Rename SymbolTable::getSymbols to match ELF backend. NFC 2022-08-31 14:33:45 -07:00
Symbols.cpp [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory. 2022-10-17 16:39:06 -07:00
Symbols.h [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory. 2022-10-17 16:39:06 -07:00
SyntheticSections.cpp Use llvm::count_if (NFC) 2022-09-03 11:17:35 -07:00
SyntheticSections.h Use any_of (NFC) 2022-07-22 01:05:17 -07:00
Writer.cpp [lld][WebAssembly] Don't allow `--global-base` to be specified in -share/-pie or --relocatable modes 2022-10-18 17:19:26 -07:00
Writer.h
WriterUtils.cpp [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00
WriterUtils.h [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00