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

References

tools/lld/wasm/SyntheticSections.cpp
  136     if (out.memorySec->maxMemoryPages != 0 || config->sharedMemory) {
  138       import.Memory.Maximum = out.memorySec->maxMemoryPages;
  230   bool hasMax = maxMemoryPages != 0 || config->sharedMemory;
  240     writeUleb128(os, maxMemoryPages, "max pages");
tools/lld/wasm/Writer.cpp
  305     out.memorySec->maxMemoryPages = config->maxMemory / WasmPageSize;
  306     log("mem: max pages   = " + Twine(out.memorySec->maxMemoryPages));