[all-commits] [llvm/llvm-project] 4b24e9: [wasm-ld] Define a `__heap_end` symbol marking the...
Dan Gohman via All-commits
all-commits at lists.llvm.org
Mon Oct 17 16:39:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b24e9be175d75c92e5adb40622fd7524abcef60
https://github.com/llvm/llvm-project/commit/4b24e9be175d75c92e5adb40622fd7524abcef60
Author: Dan Gohman <dev at sunfishcode.online>
Date: 2022-10-17 (Mon, 17 Oct 2022)
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