[all-commits] [llvm/llvm-project] 109587: [wasm-ld] Define a `__heap_end` symbol marking the...
Dan Gohman via All-commits
all-commits at lists.llvm.org
Tue Jan 10 17:03:00 PST 2023
Branch: refs/heads/release/15.x
Home: https://github.com/llvm/llvm-project
Commit: 1095870e8ceddc5371f446f4e7c3473f89a461cd
https://github.com/llvm/llvm-project/commit/1095870e8ceddc5371f446f4e7c3473f89a461cd
Author: Dan Gohman <dev at sunfishcode.online>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M lld/test/wasm/export-all.s
M lld/test/wasm/mutable-global-exports.s
M lld/wasm/Driver.cpp
M lld/wasm/Symbols.cpp
M lld/wasm/Symbols.h
M lld/wasm/Writer.cpp
Log Message:
-----------
[wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory.
Define a `__heap_end` symbol that marks the end of the memory region
that starts at `__heap_base`. This will allow malloc implementations to
know how much memory they can use at `__heap_base` even if someone has
done a `memory.grow` before they can initialize their state.
Differential Revision: https://reviews.llvm.org/D136110
More information about the All-commits
mailing list