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

References

tools/lld/wasm/Writer.cpp
  903     writeUleb128(os, 0, "num locals");
  905       writeU8(os, WASM_OPCODE_LOCAL_GET, "local.get");
  906       writeUleb128(os, 0, "local index");
  908       writeU8(os, WASM_OPCODE_GLOBAL_SET, "global.set");
  909       writeUleb128(os, WasmSym::tlsBase->getGlobalIndex(), "global index");
  911       writeU8(os, WASM_OPCODE_LOCAL_GET, "local.get");
  912       writeUleb128(os, 0, "local index");
  914       writeI32Const(os, 0, "segment offset");
  916       writeI32Const(os, tlsSeg->size, "memory region size");
  918       writeU8(os, WASM_OPCODE_MISC_PREFIX, "bulk-memory prefix");
  919       writeUleb128(os, WASM_OPCODE_MEMORY_INIT, "MEMORY.INIT");
  920       writeUleb128(os, tlsSeg->index, "segment index immediate");
  921       writeU8(os, 0, "memory index immediate");
  923     writeU8(os, WASM_OPCODE_END, "end function");