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

References

tools/lld/COFF/Chunks.cpp
  675   res->emplace_back(getRVA() + 2);
  686   res->emplace_back(getRVA(), IMAGE_REL_BASED_ARM_MOV32T);
  742   res->emplace_back(getRVA());
  759     begin[cnt++] = co.inputChunk->getRVA() + co.offset;
  787     table[idx + 1] = rpr.target->getRVA() + rpr.targetOffset;
tools/lld/COFF/DLL.cpp
   69       write64le(buf, hintName->getRVA());
   71       write32le(buf, hintName->getRVA());
  110     e->ImportLookupTableRVA = lookupTab->getRVA();
  111     e->NameRVA = dllName->getRVA();
  112     e->ImportAddressTableRVA = addressTab->getRVA();
  177     e->Name = dllName->getRVA();
  178     e->ModuleHandle = moduleHandle->getRVA();
  179     e->DelayImportAddressTable = addressTab->getRVA();
  180     e->DelayImportNameTable = nameTab->getRVA();
  303     write32le(buf + 8, tailMerge->getRVA() - rva - 12);
  318     write32le(buf + 39, desc->getRVA() - rva - 43);
  335     write32le(buf + 6, tailMerge->getRVA() - rva - 10);
  354     write32le(buf + 4, desc->getRVA() + config->imageBase);
  375     applyBranch24T(buf + 8, tailMerge->getRVA() - rva - 12);
  394     applyMOV32T(buf + 14, desc->getRVA() + config->imageBase);
  416     applyArm64Branch26(buf + 8, tailMerge->getRVA() - rva - 8);
  431     applyArm64Addr(buf + 44, desc->getRVA(), rva + 44, 12);
  432     applyArm64Imm(buf + 48, desc->getRVA() & 0xfff, 0);
  450       write64le(buf, thunk->getRVA() + config->imageBase);
  456       write32le(buf, (thunk->getRVA() + config->imageBase) | bit);
  485     e->NameRVA = dllName->getRVA();
  489     e->ExportAddressTableRVA = addressTab->getRVA();
  490     e->NamePointerRVA = nameTab->getRVA();
  491     e->OrdinalTableRVA = ordinalTab->getRVA();
  517         write32le(p, e.forwardChunk->getRVA() | bit);
  535       write32le(buf, c->getRVA());
tools/lld/COFF/DLL.h
   48   uint64_t getDirRVA() { return dirs[0]->getRVA(); }
   73   uint64_t getRVA() { return chunks[0]->getRVA(); }
   75     return chunks.back()->getRVA() + chunks.back()->getSize() - getRVA();
tools/lld/COFF/MapFile.cpp
  117       writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment());
tools/lld/COFF/PDB.cpp
  954   sc.Off = c && os ? c->getRVA() - os->getRVA() : 0;
 1468   cgs.Offset = firstChunk->getRVA() - os.getRVA();
 1469   cgs.Size = lastChunk->getRVA() + lastChunk->getSize() - firstChunk->getRVA();
 1469   cgs.Size = lastChunk->getRVA() + lastChunk->getSize() - firstChunk->getRVA();
 1566     ts.Offset = thunkChunk->getRVA() - thunkOS->getRVA();
tools/lld/COFF/Symbols.h
  184   uint64_t getRVA() const { return (*data)->getRVA() + sym->Value; }
  204   uint64_t getRVA() { return data->getRVA(); }
  254   uint32_t getRVA() { return c ? c->getRVA() : 0; }
  322   uint64_t getRVA() { return file->location->getRVA(); }
  346   uint64_t getRVA() { return data->getRVA(); }
  369   uint64_t getRVA() { return data->getRVA(); }
tools/lld/COFF/Writer.cpp
  106       uint64_t offs = os->getFileOff() + (record->getRVA() - os->getRVA());
  108                 record->getRVA(), offs);
  416     size_t thunkInsertionRVA = sc->getRVA() + sc->getSize() + thunksSize;
  429       uint64_t p = sc->getRVA() + rel.VirtualAddress + thunksSize;
  514       uint64_t p = sc->getRVA() + rel.VirtualAddress;
 1378     dir[EXPORT_TABLE].RelativeVirtualAddress = edataStart->getRVA();
 1380         edataEnd->getRVA() + edataEnd->getSize() - edataStart->getRVA();
 1380         edataEnd->getRVA() + edataEnd->getSize() - edataStart->getRVA();
 1383     dir[IMPORT_TABLE].RelativeVirtualAddress = importTableStart->getRVA();
 1387     dir[IAT].RelativeVirtualAddress = iatStart->getRVA();
 1395     dir[EXCEPTION_TABLE].RelativeVirtualAddress = firstPdata->getRVA();
 1397         lastPdata->getRVA() + lastPdata->getSize() - firstPdata->getRVA();
 1397         lastPdata->getRVA() + lastPdata->getSize() - firstPdata->getRVA();
 1412     dir[DEBUG_DIRECTORY].RelativeVirtualAddress = debugDirectory->getRVA();
 1418       assert(b->getRVA() >= sc->getRVA());
 1419       uint64_t offsetInChunk = b->getRVA() - sc->getRVA();
 1494   uint32_t off = s->getRVA() - (c ? c->getRVA() : 0);
 1755       c->writeTo(secBuf + c->getRVA() - sec->getRVA());
 1818     return buffer->getBufferStart() + os->getFileOff() + c->getRVA() -