/external/llvm-project/lld/COFF/ |
D | DLL.cpp | 70 write64le(buf, hintName->getRVA()); in writeTo() 72 write32le(buf, hintName->getRVA()); in writeTo() 111 e->ImportLookupTableRVA = lookupTab->getRVA(); in writeTo() 112 e->NameRVA = dllName->getRVA(); in writeTo() 113 e->ImportAddressTableRVA = addressTab->getRVA(); in writeTo() 178 e->Name = dllName->getRVA(); in writeTo() 179 e->ModuleHandle = moduleHandle->getRVA(); in writeTo() 180 e->DelayImportAddressTable = addressTab->getRVA(); in writeTo() 181 e->DelayImportNameTable = nameTab->getRVA(); in writeTo() 303 write32le(buf + 3, imp->getRVA() - rva - 7); in writeTo() [all …]
|
D | Symbols.h | 160 uint64_t getRVA(); 208 uint64_t getRVA() const { return (*data)->getRVA() + sym->Value; } in getRVA() function 228 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 253 uint64_t getRVA() { return va - config->imageBase; } in getRVA() function 279 uint32_t getRVA() { return c ? c->getRVA() : 0; } in getRVA() function 347 uint64_t getRVA() { return file->location->getRVA(); } in getRVA() function 378 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 401 uint64_t getRVA() { return data->getRVA(); } in getRVA() function 408 inline uint64_t Defined::getRVA() { in getRVA() function 411 return cast<DefinedAbsolute>(this)->getRVA(); in getRVA() [all …]
|
D | DLL.h | 48 uint64_t getDirRVA() { return dirs[0]->getRVA(); } in getDirRVA() 73 uint64_t getRVA() { return chunks[0]->getRVA(); } in getRVA() function 75 return chunks.back()->getRVA() + chunks.back()->getSize() - getRVA(); in getSize()
|
D | Chunks.cpp | 82 uint64_t secRel = s - os->getRVA(); in applySecRel() 252 applyArm64Imm(off, (s - os->getRVA()) & 0xfff, 0); in applySecRelLow12A() 259 uint64_t secRel = (s - os->getRVA()) >> 12; in applySecRelHigh12A() 271 applyArm64Ldr(off, (s - os->getRVA()) & 0xfff); in applySecRelLdr() 393 uint64_t s = sym->getRVA(); in writeTo() 671 write32le(buf + 2, impSymbol->getRVA() - rva - getSize()); in writeTo() 675 res->emplace_back(getRVA() + 2); in getBaserels() 682 impSymbol->getRVA() + config->imageBase); in writeTo() 686 res->emplace_back(getRVA(), IMAGE_REL_BASED_ARM_MOV32T); in getBaserels() 692 applyMOV32T(buf, impSymbol->getRVA() + config->imageBase); in writeTo() [all …]
|
D | LLDMapFile.cpp | 67 return a->getRVA() < b->getRVA(); in getSectionSyms() 79 writeHeader(os, syms[i]->getRVA(), 0, 0); in getSymbolStrings() 108 writeHeader(os, sec->getRVA(), sec->getVirtualSize(), /*align=*/pageSize); in writeLLDMapFile() 116 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment()); in writeLLDMapFile()
|
D | Writer.cpp | 111 uint64_t offs = os->getFileOff() + (c->getRVA() - os->getRVA()); in writeTo() 112 fillEntry(d, record.first, c->getSize(), c->getRVA(), offs); in writeTo() 391 Defined *&lastThunk = lastThunks[target->getRVA()]; in getThunk() 392 if (lastThunk && isInRange(type, lastThunk->getRVA(), p, margin)) in getThunk() 437 size_t thunkInsertionRVA = sc->getRVA() + sc->getSize() + thunksSize; in createThunks() 450 uint64_t p = sc->getRVA() + rel.VirtualAddress + thunksSize; in createThunks() 456 uint64_t s = sym->getRVA(); in createThunks() 535 uint64_t p = sc->getRVA() + rel.VirtualAddress; in verifyRanges() 536 uint64_t s = sym->getRVA(); in verifyRanges() 1139 sym.Value = def->getRVA(); in createSymbol() [all …]
|
D | MapFile.cpp | 90 uint64_t rvaa = config->imageBase + a.first->getRVA(); in sortUniqueSymbols() 91 uint64_t rvab = config->imageBase + b.first->getRVA(); in sortUniqueSymbols() 163 address = sym->getRVA(); in getSymbolStrings() 190 os << format_hex_no_prefix((config->imageBase + sym->getRVA()), 16); in getSymbolStrings() 275 cr.second->getRVA() + cr.second->getSize() - cr.first->getRVA(); in writeMapFile() 277 auto address = cr.first->getRVA() - sec->header.VirtualAddress; in writeMapFile() 306 entry->getRVA() - chunk->getOutputSection()->header.VirtualAddress; in writeMapFile()
|
D | PDB.cpp | 613 sc.Off = c && os ? c->getRVA() - os->getRVA() : 0; in createSectionContrib() 938 pub.Offset = def->getRVA() - os->getRVA(); in createPublic() 1229 cgs.Offset = firstChunk->getRVA() - os.getRVA(); in addLinkerModuleCoffGroup() 1230 cgs.Size = lastChunk->getRVA() + lastChunk->getSize() - firstChunk->getRVA(); in addLinkerModuleCoffGroup() 1250 sym.Rva = os.getRVA(); in addLinkerModuleSectionSymbol() 1326 ts.Offset = thunkChunk->getRVA() - thunkOS->getRVA(); in addImportFilesToPDB()
|
D | Writer.h | 48 uint64_t getRVA() { return header.VirtualAddress; } in getRVA() function
|
D | Chunks.h | 87 uint32_t getRVA() const { return rva; } in getRVA() function
|
/external/llvm/include/llvm/Object/ |
D | COFF.h | 1006 std::error_code getRVA(uint32_t &Result) const;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | COFF.h | 1198 std::error_code getRVA(uint32_t &Result) const;
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | COFF.h | 1209 Error getRVA(uint32_t &Result) const;
|
/external/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 1547 std::error_code BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA() function in BaseRelocRef
|
/external/llvm-project/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 1676 Error BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA() function in BaseRelocRef
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | COFFObjectFile.cpp | 1659 std::error_code BaseRelocRef::getRVA(uint32_t &Result) const { in getRVA() function in BaseRelocRef
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1496 error(I.getRVA(RVA)); in printCOFFBaseReloc()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1759 if (Error E = I.getRVA(RVA)) in printCOFFBaseReloc()
|