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

Declarations

tools/lld/wasm/Symbols.h
  311   uint32_t getGlobalIndex() const;

References

tools/lld/wasm/InputChunks.cpp
  315     writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), "memory_base");
  337       writeUleb128(os, baseSymbol->getGlobalIndex(), "base");
tools/lld/wasm/InputFiles.cpp
  201       return gs->getGlobalIndex();
tools/lld/wasm/OutputSections.cpp
  153         initExpr.Value.Global = WasmSym::memoryBase->getGlobalIndex();
tools/lld/wasm/SyntheticSections.cpp
  352     initExpr.Value.Global = WasmSym::tableBase->getGlobalIndex();
  404         writeUleb128(sub.os, g->getGlobalIndex(), "index");
tools/lld/wasm/Writer.cpp
  534       export_ = {name, WASM_EXTERNAL_GLOBAL, g->getGlobalIndex()};
  909       writeUleb128(os, WasmSym::tlsBase->getGlobalIndex(), "global index");