Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 13, 2022

@sbc100
Copy link
Collaborator Author

sbc100 commented Oct 13, 2022

sbc100 added a commit to llvm/llvm-project that referenced this pull request Oct 13, 2022
Currently emscripten is make assumptions about that memory layout,
assuming the stack is between `__data_end` and `__heap_base`:

https://github.com/emscripten-core/emscripten/blob/af961ad5c4c278ec510f0b7f7d522a95ee5a90f8/system/lib/compiler-rt/stack_limits.S#L42-L61

With this change we can be more precise:

emscripten-core/emscripten#18057

Differential Revision: https://reviews.llvm.org/D135910
@sbc100 sbc100 requested a review from kripken October 17, 2022 22:35
@sbc100 sbc100 changed the title Use explicit linker generated high/low symbols to determine stack bound. Use explicit linker generated high/low symbols to determine stack bounds. NFC Oct 17, 2022
@sbc100 sbc100 merged commit 830fcb8 into main Oct 17, 2022
@sbc100 sbc100 deleted the stack_symbols branch October 17, 2022 23:52
veselypeta pushed a commit to veselypeta/cherillvm that referenced this pull request May 28, 2024
Currently emscripten is make assumptions about that memory layout,
assuming the stack is between `__data_end` and `__heap_base`:

https://github.com/emscripten-core/emscripten/blob/af961ad5c4c278ec510f0b7f7d522a95ee5a90f8/system/lib/compiler-rt/stack_limits.S#L42-L61

With this change we can be more precise:

emscripten-core/emscripten#18057

Differential Revision: https://reviews.llvm.org/D135910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants