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

References

lib/MC/WasmObjectWriter.cpp
  948         encodeULEB128(Sym.ElementIndex, W.OS);
  963             CustomSections[Sym.ElementIndex].OutputIndex;
 1464       Info.ElementIndex = WasmIndices.find(&WS)->second;
lib/Object/WasmObjectFile.cpp
   44     Out << ", ElemIndex=" << Info.ElementIndex;
  497       Info.ElementIndex = readVaruint32(Ctx);
  498       if (!isValidFunctionIndex(Info.ElementIndex) ||
  499           IsDefined != isDefinedFunctionIndex(Info.ElementIndex))
  504         unsigned FuncIndex = Info.ElementIndex - NumImportedFunctions;
  510         wasm::WasmImport &Import = *ImportedFunctions[Info.ElementIndex];
  522       Info.ElementIndex = readVaruint32(Ctx);
  523       if (!isValidGlobalIndex(Info.ElementIndex) ||
  524           IsDefined != isDefinedGlobalIndex(Info.ElementIndex))
  533         unsigned GlobalIndex = Info.ElementIndex - NumImportedGlobals;
  539         wasm::WasmImport &Import = *ImportedGlobals[Info.ElementIndex];
  572       Info.ElementIndex = readVaruint32(Ctx);
  574       StringRef SectionName = Sections[Info.ElementIndex].Name;
  580       Info.ElementIndex = readVaruint32(Ctx);
  581       if (!isValidEventIndex(Info.ElementIndex) ||
  582           IsDefined != isDefinedEventIndex(Info.ElementIndex))
  591         unsigned EventIndex = Info.ElementIndex - NumImportedEvents;
  599         wasm::WasmImport &Import = *ImportedEvents[Info.ElementIndex];
 1297       isDefinedFunctionIndex(Sym.Info.ElementIndex))
 1298     return getDefinedFunction(Sym.Info.ElementIndex).CodeSectionOffset;
 1308     return Sym.Info.ElementIndex;
 1376     Ref.d.a = Sym.Info.ElementIndex;
tools/lld/wasm/InputFiles.cpp
  128     return tableEntries[sym.Info.ElementIndex];
  145         functions[sym.Info.ElementIndex - wasmObj->getNumImportedFunctions()];
  157     return sym.Info.ElementIndex;
  398         functions[sym.Info.ElementIndex - wasmObj->getNumImportedFunctions()];
  417         globals[sym.Info.ElementIndex - wasmObj->getNumImportedGlobals()];
  423     InputSection *section = customSectionsByIndex[sym.Info.ElementIndex];
  429         events[sym.Info.ElementIndex - wasmObj->getNumImportedEvents()];
tools/llvm-readobj/WasmDumper.cpp
  234     W.printHex("ElementIndex", Symbol.Info.ElementIndex);
tools/obj2yaml/wasm2yaml.cpp
  120         Info.ElementIndex = Symbol.ElementIndex;
  123         Info.ElementIndex = Symbol.ElementIndex;