Searched refs:coff_relocation (Results 1 – 13 of 13) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 363 const coff_relocation *FirstReloc; in getNumberOfRelocations() 376 static const coff_relocation * 1159 const coff_relocation *R = toRel(Rel); in getRelocationOffset() 1164 const coff_relocation *R = toRel(Rel); in getRelocationSymbol() 1178 const coff_relocation* R = toRel(Rel); in getRelocationType() 1199 const coff_relocation * 1204 ArrayRef<coff_relocation> 1312 const coff_relocation *Reloc = toRel(Rel); in getRelocationTypeName() 1799 for (const coff_relocation &R : OrigRelocs) in load() 1801 llvm::sort(Relocs, [](const coff_relocation *A, const coff_relocation *B) { in load() [all …]
|
| H A D | COFFImportFile.cpp | 193 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor() 222 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor() 238 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
|
| H A D | WindowsResource.cpp | 980 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations() 999 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
|
| /freebsd-13.1/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.cpp | 325 const coff_relocation &rel) { in maybeReportRelocationToDiscarded() 366 for (const coff_relocation &rel : getRelocs()) { in writeTo() 381 const coff_relocation &rel) const { in applyRelocation() 424 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations() 430 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations() 431 bAlloc.Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations() 432 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations() 450 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection() 480 static uint8_t getBaserelType(const coff_relocation &rel) { in getBaserelType() 512 for (const coff_relocation &rel : getRelocs()) { in getBaserels() [all …]
|
| H A D | Chunks.h | 30 using llvm::object::coff_relocation; 186 symbol_iterator, const coff_relocation *, 192 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 224 void applyRelocation(uint8_t *off, const coff_relocation &rel) const; 263 ArrayRef<coff_relocation> getRelocs() const { in getRelocs() 268 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs() 352 const coff_relocation *relocsData;
|
| H A D | ICF.cpp | 154 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsConstant() 184 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
|
| H A D | Writer.cpp | 440 ArrayRef<coff_relocation> originalRelocs = in createThunks() 443 const coff_relocation &rel = originalRelocs[j]; in createThunks() 491 ArrayRef<coff_relocation> curRelocs = sc->getRelocs(); in createThunks() 492 MutableArrayRef<coff_relocation> newRelocs; in createThunks() 495 bAlloc.Allocate<coff_relocation>(originalRelocs.size()), in createThunks() 499 const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size()); in createThunks() 526 ArrayRef<coff_relocation> relocs = sc->getRelocs(); in verifyRanges() 528 const coff_relocation &rel = relocs[j]; in verifyRanges() 1624 for (const coff_relocation &reloc : sc->getRelocs()) { in markSymbolsWithRelocations()
|
| H A D | SymbolTable.cpp | 165 for (const coff_relocation &r : sc->getRelocs()) { in getSymbolLocations()
|
| H A D | PDB.cpp | 1711 for (const coff_relocation &r : dbgC->getRelocs()) { in findLineTable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
| H A D | Object.h | 29 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation() 31 object::coff_relocation Reloc;
|
| H A D | Reader.cpp | 72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections() 73 for (const coff_relocation &R : Relocs) in readSections()
|
| H A D | Writer.cpp | 105 FileSize += sizeof(coff_relocation); in layoutSections() 111 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections() 321 object::coff_relocation R; in writeSections()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | COFF.h | 474 struct coff_relocation { struct 833 const coff_relocation *toRel(DataRefImpl Rel) const; 982 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const; 1073 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const; 1265 std::vector<const coff_relocation *> Relocs;
|