llvm/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
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
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
LTO.cpp
LTO.h
MapFile.cpp
MapFile.h
MarkLive.cpp
MarkLive.h
Options.td
OutputSections.cpp [lld][WebAssembly] Take advantage of extended const expressions when available 2022-03-15 17:50:05 -07:00
OutputSections.h
OutputSegment.cpp
OutputSegment.h
Relocations.cpp [lld][WebAssembly] Add --unresolved-symbols=import-dynamic 2022-03-15 15:10:21 -07:00
Relocations.h
Symbols.cpp
Symbols.h
SymbolTable.cpp
SymbolTable.h
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