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

References

tools/lld/wasm/InputFiles.cpp
  167   if (reloc.Type != R_WASM_TYPE_INDEX_LEB) {
  168     sym = symbols[reloc.Index];
  176   switch (reloc.Type) {
  180     if (!getFunctionSymbol(reloc.Index)->hasTableIndex())
  182     uint32_t index = getFunctionSymbol(reloc.Index)->getTableIndex();
  183     if (reloc.Type == R_WASM_TABLE_INDEX_REL_SLEB)
  194     return cast<DefinedData>(sym)->getVirtualAddress() + reloc.Addend;
  196     return typeMap[reloc.Index];
  198     return getFunctionSymbol(reloc.Index)->getFunctionIndex();
  204     return getEventSymbol(reloc.Index)->getEventIndex();
  208            reloc.Addend;
  211     return getSectionSymbol(reloc.Index)->section->outputOffset + reloc.Addend;
  211     return getSectionSymbol(reloc.Index)->section->outputOffset + reloc.Addend;