Currently emscripten is make assumptions about that memory layout and assuming
the stack is between __data_end and __heap_base:
With this change we can be more precise:
Paths
| Differential D135910
[lld][WebAssembly] Add symbols marking start/end of stack region ClosedPublic Authored by sbc100 on Oct 13 2022, 12:55 PM.
Details Summary Currently emscripten is make assumptions about that memory layout and assuming With this change we can be more precise:
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 13 2022, 2:12 PM Closed by commit rG1532be98f993: [lld][WebAssembly] Add symbols marking start/end of stack region (authored by sbc100). · Explain WhyOct 13 2022, 2:53 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 467612 lld/test/wasm/export-all.s
lld/test/wasm/mutable-global-exports.s
lld/wasm/Driver.cpp
lld/wasm/Symbols.h
lld/wasm/Symbols.cpp
lld/wasm/Writer.cpp
|