reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/MC/WasmObjectWriter.cpp
  703   uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize;
  703   uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize;
tools/lld/wasm/Driver.cpp
  354       args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize);
tools/lld/wasm/Writer.cpp
  287     if (config->initialMemory != alignTo(config->initialMemory, WasmPageSize))
  288       error("initial memory must be " + Twine(WasmPageSize) + "-byte aligned");
  296       alignTo(memoryPtr, WasmPageSize) / WasmPageSize;
  296       alignTo(memoryPtr, WasmPageSize) / WasmPageSize;
  301     if (config->maxMemory != alignTo(config->maxMemory, WasmPageSize))
  302       error("maximum memory must be " + Twine(WasmPageSize) + "-byte aligned");
  305     out.memorySec->maxMemoryPages = config->maxMemory / WasmPageSize;