Searched refs:coff_relocation (Results 1 – 14 of 14) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 363 const coff_relocation *FirstReloc; in getNumberOfRelocations() 376 static const coff_relocation * 1267 const coff_relocation *R = toRel(Rel); in getRelocationOffset() 1272 const coff_relocation *R = toRel(Rel); in getRelocationSymbol() 1286 const coff_relocation* R = toRel(Rel); in getRelocationType() 1307 const coff_relocation * 1312 ArrayRef<coff_relocation> 1422 const coff_relocation *Reloc = toRel(Rel); in getRelocationTypeName() 1914 for (const coff_relocation &R : OrigRelocs) in load() 1916 llvm::sort(Relocs, [](const coff_relocation *A, const coff_relocation *B) { in load() [all …]
|
| H A D | COFFImportFile.cpp | 241 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor() 270 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor() 286 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
|
| H A D | WindowsResource.cpp | 978 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations() 999 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.cpp | 359 const coff_relocation &rel, in maybeReportRelocationToDiscarded() 401 for (const coff_relocation &rel : getRelocs()) { in writeTo() 416 const coff_relocation &rel) const { in applyRelocation() 462 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations() 468 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations() 469 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations() 470 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations() 488 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection() 518 static uint8_t getBaserelType(const coff_relocation &rel, in getBaserelType() 553 for (const coff_relocation &rel : getRelocs()) { in getBaserels() [all …]
|
| H A D | ICF.cpp | 157 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsConstant() 187 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
|
| H A D | Chunks.h | 28 using llvm::object::coff_relocation; 217 symbol_iterator, const coff_relocation *, 223 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 257 void applyRelocation(uint8_t *off, const coff_relocation &rel) const; 296 ArrayRef<coff_relocation> getRelocs() const { in getRelocs() 301 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs() 385 const coff_relocation *relocsData;
|
| H A D | Writer.cpp | 477 ArrayRef<coff_relocation> originalRelocs = in createThunks() 480 const coff_relocation &rel = originalRelocs[j]; in createThunks() 525 ArrayRef<coff_relocation> curRelocs = sc->getRelocs(); in createThunks() 526 MutableArrayRef<coff_relocation> newRelocs; in createThunks() 529 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks() 533 const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size()); in createThunks() 602 ArrayRef<coff_relocation> relocs = sc->getRelocs(); in verifyRanges() 603 for (const coff_relocation &rel : relocs) { in verifyRanges() 1873 for (const coff_relocation &reloc : sc->getRelocs()) { in markSymbolsWithRelocations()
|
| H A D | SymbolTable.cpp | 189 for (const coff_relocation &r : sc->getRelocs()) { in getSymbolLocations()
|
| H A D | PDB.cpp | 1763 for (const coff_relocation &r : dbgC->getRelocs()) { in findLineTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.h | 28 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation() 30 object::coff_relocation Reloc;
|
| H A D | COFFReader.cpp | 72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections() 73 for (const coff_relocation &R : Relocs) in readSections()
|
| H A D | COFFWriter.cpp | 107 FileSize += sizeof(coff_relocation); in layoutSections() 113 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections() 332 object::coff_relocation R; in writeSections()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | COFF.h | 474 struct coff_relocation { struct 870 const coff_relocation *toRel(DataRefImpl Rel) const; 1037 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const; 1130 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const; 1325 std::vector<const coff_relocation *> Relocs;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFF_x86_64.cpp | 68 const object::coff_relocation *COFFRel = getObject().getCOFFRelocation(Rel); in addSingleRelocation()
|