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

References

lib/Object/WasmObjectFile.cpp
  767     Reloc.Index = readVaruint32(Ctx);
  773       if (!isValidFunctionSymbol(Reloc.Index))
  778       if (Reloc.Index >= Signatures.size())
  785       if (!isValidGlobalSymbol(Reloc.Index) &&
  786           !isValidDataSymbol(Reloc.Index) &&
  787           !isValidFunctionSymbol(Reloc.Index))
  792       if (!isValidEventSymbol(Reloc.Index))
  800       if (!isValidDataSymbol(Reloc.Index))
  806       if (!isValidFunctionSymbol(Reloc.Index))
  812       if (!isValidSectionSymbol(Reloc.Index))
 1485   Sym.d.b = Rel.Index;
tools/lld/wasm/InputChunks.cpp
  112       LLVM_DEBUG(dbgs() << " sym=" << file->getSymbols()[rel.Index]->getName());
  113     LLVM_DEBUG(dbgs() << " addend=" << rel.Addend << " index=" << rel.Index
  310                       << " addend=" << rel.Addend << " index=" << rel.Index
tools/lld/wasm/InputFiles.cpp
   93     assert(typeIsUsed[reloc.Index]);
   94     return typeMap[reloc.Index];
   96   const Symbol *sym = symbols[reloc.Index];
  113     return getSectionSymbol(reloc.Index)->section->outputOffset + reloc.Addend;
  127     const WasmSymbol &sym = wasmObj->syms()[reloc.Index];
  134     const WasmSymbol &sym = wasmObj->syms()[reloc.Index];
  143     const WasmSymbol &sym = wasmObj->syms()[reloc.Index];
  152     return reloc.Index;
  156     const WasmSymbol &sym = wasmObj->syms()[reloc.Index];
  168     sym = symbols[reloc.Index];
  180     if (!getFunctionSymbol(reloc.Index)->hasTableIndex())
  182     uint32_t index = getFunctionSymbol(reloc.Index)->getTableIndex();
  196     return typeMap[reloc.Index];
  198     return getFunctionSymbol(reloc.Index)->getFunctionIndex();
  204     return getEventSymbol(reloc.Index)->getEventIndex();
  211     return getSectionSymbol(reloc.Index)->section->outputOffset + reloc.Addend;
  306         isCalledDirectly[reloc.Index] = true;
tools/lld/wasm/InputFiles.h
  110     return symbols[reloc.Index];
tools/lld/wasm/MarkLive.cpp
  115       Symbol *sym = c->file->getSymbol(reloc.Index);
tools/lld/wasm/Relocations.cpp
   64       file->typeMap[reloc.Index] =
   65           out.typeSec->registerType(types[reloc.Index]);
   66       file->typeIsUsed[reloc.Index] = true;
   71     Symbol *sym = file->getSymbols()[reloc.Index];
tools/llvm-objdump/WasmDump.cpp
   39     Fmt << Rel.Index;
tools/llvm-readobj/WasmDumper.cpp
  115       W.printHex("Index", WasmReloc.Index);
  124       OS << WasmReloc.Index;
tools/obj2yaml/wasm2yaml.cpp
  366       R.Index = Reloc.Index;