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
Paths
| Differential D121931
[lld][WebAssembly] Fix crash accessing non-live __tls_base symbol ClosedPublic Authored by sbc100 on Mar 17 2022, 10:40 AM.
Details Summary In programs that don't otherwise depend on __tls_base it won't Fixes: #54386
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 17 2022, 1:06 PM Closed by commit rGa04a5077140b: [lld][WebAssembly] Fix crash accessing non-live __tls_base symbol (authored by sbc100). · Explain WhyMar 17 2022, 2:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 416245 lld/test/wasm/tls_init_symbols.s
lld/wasm/Writer.cpp
|