Searched refs:coff_relocation (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 363 const coff_relocation *FirstReloc; in getNumberOfRelocations() 376 static const coff_relocation * 1213 const coff_relocation *R = toRel(Rel); in getRelocationOffset() 1218 const coff_relocation *R = toRel(Rel); in getRelocationSymbol() 1232 const coff_relocation* R = toRel(Rel); in getRelocationType() 1253 const coff_relocation * 1258 ArrayRef<coff_relocation> 1366 const coff_relocation *Reloc = toRel(Rel); in getRelocationTypeName() 1858 for (const coff_relocation &R : OrigRelocs) in load() 1860 llvm::sort(Relocs, [](const coff_relocation *A, const coff_relocation *B) { in load() [all …]
|
| H A D | COFFImportFile.cpp | 197 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor() 226 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor() 242 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
|
| H A D | WindowsResource.cpp | 978 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations() 997 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | Chunks.cpp | 327 const coff_relocation &rel) { in maybeReportRelocationToDiscarded() 368 for (const coff_relocation &rel : getRelocs()) { in writeTo() 383 const coff_relocation &rel) const { in applyRelocation() 426 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations() 432 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations() 433 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations() 434 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations() 452 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection() 482 static uint8_t getBaserelType(const coff_relocation &rel) { in getBaserelType() 514 for (const coff_relocation &rel : getRelocs()) { in getBaserels() [all …]
|
| H A D | Chunks.h | 30 using llvm::object::coff_relocation; 185 symbol_iterator, const coff_relocation *, 191 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 223 void applyRelocation(uint8_t *off, const coff_relocation &rel) const; 262 ArrayRef<coff_relocation> getRelocs() const { in getRelocs() 267 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs() 351 const coff_relocation *relocsData;
|
| H A D | ICF.cpp | 155 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsConstant() 185 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
|
| H A D | Writer.cpp | 433 ArrayRef<coff_relocation> originalRelocs = in createThunks() 436 const coff_relocation &rel = originalRelocs[j]; in createThunks() 484 ArrayRef<coff_relocation> curRelocs = sc->getRelocs(); in createThunks() 485 MutableArrayRef<coff_relocation> newRelocs; in createThunks() 488 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks() 492 const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size()); in createThunks() 519 ArrayRef<coff_relocation> relocs = sc->getRelocs(); in verifyRanges() 521 const coff_relocation &rel = relocs[j]; in verifyRanges() 1627 for (const coff_relocation &reloc : sc->getRelocs()) { in markSymbolsWithRelocations()
|
| H A D | SymbolTable.cpp | 171 for (const coff_relocation &r : sc->getRelocs()) { in getSymbolLocations()
|
| H A D | PDB.cpp | 1711 for (const coff_relocation &r : dbgC->getRelocs()) { in findLineTable()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.h | 29 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation() 31 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 | 105 FileSize += sizeof(coff_relocation); in layoutSections() 111 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections() 330 object::coff_relocation R; in writeSections()
|
| /llvm-project-15.0.7/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; 1267 std::vector<const coff_relocation *> Relocs;
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFF_x86_64.cpp | 65 const object::coff_relocation *COFFRel = getObject().getCOFFRelocation(Rel); in addSingleRelocation()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | coff2yaml.cpp | 199 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); in dumpSections()
|