llvm-project/lld/wasm
Sam Clegg a04a507714 [lld][WebAssembly] Fix crash accessing non-live __tls_base symbol
In programs that don't otherwise depend on `__tls_base` it won't
be marked as live.  However this symbol is used internally in
a couple of places do we need to mark it as live explictily in
those places.

Fixes: #54386

Differential Revision: https://reviews.llvm.org/D121931
2022-03-17 13:59:45 -07:00
..
CMakeLists.txt Reland: "[lld][WebAssembly] Initial support merging string data" 2021-05-10 16:03:38 -07:00
Config.h [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
Driver.cpp [lld][WebAssembly] Add --unresolved-symbols=import-dynamic 2022-03-15 15:10:21 -07:00
InputChunks.cpp [lld][WebAssembly] Add --unresolved-symbols=import-dynamic 2022-03-15 15:10:21 -07:00
InputChunks.h [lld][WebAssembly] Handle TLS symbols in older object file 2022-01-27 17:27:09 -08:00
InputElement.h [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00
InputFiles.cpp [WebAssembly] Second phase of implemented extended const proposal 2022-03-14 08:55:47 -07:00
InputFiles.h [MC][WebAssembly] Fix crash when relocation addend underlows U32 2022-02-25 07:13:15 -08:00
LTO.cpp [Support] Improve Caching conformance with Support library behavior 2021-11-04 13:00:44 -07:00
LTO.h
MapFile.cpp [WebAssembly][lld] Fix segfault on .bss sections in mapfile 2021-07-07 23:31:48 -07:00
MapFile.h [lld][WebAssembly] Add initial support for -Map/--print-map 2020-09-12 16:10:51 -07:00
MarkLive.cpp [WebAssembly] Rename event to tag 2021-06-17 20:34:19 -07:00
MarkLive.h
Options.td fix comment typos to cycle bots 2021-10-27 09:53:08 -04:00
OutputSections.cpp [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
OutputSections.h [lld][WebAssembly] Cleanup output of --verbose 2021-09-10 11:35:50 -04:00
OutputSegment.cpp [lld][WebAssembly] Enable string tail merging in debug sections 2021-05-18 12:25:39 -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 Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
SymbolTable.h [lld] Rename addCombinedLTOObjects to match ELF driver. NFC 2021-10-28 11:46:19 -07:00
Symbols.cpp [lld][WebAssembly] Don't force the export symbols assiged internal/dummy GOT entries 2022-02-15 17:29:45 -08:00
Symbols.h fix comment typos to cycle bots 2021-10-27 09:53:08 -04:00
SyntheticSections.cpp [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
SyntheticSections.h [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
Writer.cpp [lld][WebAssembly] Fix crash accessing non-live __tls_base symbol 2022-03-17 13:59:45 -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