[lld] [llvm] [lld][WebAssembly] Support for the custom-page-sizes WebAssembly proposal (PR #128942)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 12:28:18 PST 2025


================
@@ -320,6 +320,13 @@ static void setGlobalPtr(DefinedGlobal *g, uint64_t memoryPtr) {
   g->global->setPointerValue(memoryPtr);
 }
 
+void checkPageAligned(StringRef name, uint64_t value) {
----------------
sbc100 wrote:

add `static` here

https://github.com/llvm/llvm-project/pull/128942


More information about the llvm-commits mailing list