[PATCH] D42030: [WebAssembly] Define __heap_base global
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 09:07:06 PST 2018
dschuff added inline comments.
================
Comment at: wasm/Writer.cpp:38
static constexpr int kStackAlignment = 16;
+static constexpr int kHeapAlignment = 4096;
----------------
Why 4096? Since wasm pages are 16k, is there some particular reason for it to be this as opposed to something else?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D42030
More information about the llvm-commits
mailing list