Searched refs:coff_relocation (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 362 const coff_relocation *FirstReloc; in getNumberOfRelocations() 364 reinterpret_cast<const coff_relocation *>( in getNumberOfRelocations() 375 static const coff_relocation * 380 auto begin = reinterpret_cast<const coff_relocation *>( in getFirstReloc() 388 sizeof(coff_relocation) * NumRelocs)) { in getFirstReloc() 397 const coff_relocation *begin = getFirstReloc(Sec, Data, base()); in section_rel_begin() 407 const coff_relocation *I = getFirstReloc(Sec, Data, base()); in section_rel_end() 1316 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel() 1317 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel() 1322 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext() [all …]
|
| H A D | COFFImportFile.cpp | 278 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor() 307 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor() 323 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
|
| H A D | WindowsResource.cpp | 979 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations() 998 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | Chunks.cpp | 370 const coff_relocation &rel, in maybeReportRelocationToDiscarded() 413 for (const coff_relocation &rel : getRelocs()) { in writeTo() 434 const coff_relocation &rel) const { in applyRelocation() 479 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations() 485 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations() 486 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations() 487 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations() 505 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection() 535 static uint8_t getBaserelType(const coff_relocation &rel, in getBaserelType() 568 for (const coff_relocation &rel : getRelocs()) { in getBaserels() [all …]
|
| H A D | ICF.cpp | 153 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsConstant() 191 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
|
| H A D | Chunks.h | 29 using llvm::object::coff_relocation; 236 symbol_iterator, const coff_relocation *, 242 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 275 void applyRelocation(uint8_t *off, const coff_relocation &rel) const; 314 ArrayRef<coff_relocation> getRelocs() const { in getRelocs() 319 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs() 403 const coff_relocation *relocsData;
|
| H A D | Writer.cpp | 507 ArrayRef<coff_relocation> originalRelocs = in createThunks() 510 const coff_relocation &rel = originalRelocs[j]; in createThunks() 556 ArrayRef<coff_relocation> curRelocs = sc->getRelocs(); in createThunks() 557 MutableArrayRef<coff_relocation> newRelocs; in createThunks() 560 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks() 564 const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size()); in createThunks() 637 ArrayRef<coff_relocation> relocs = sc->getRelocs(); in verifyRanges() 638 for (const coff_relocation &rel : relocs) { in verifyRanges() 2070 for (const coff_relocation &reloc : sc->getRelocs()) { in markSymbolsWithRelocations()
|
| H A D | SymbolTable.cpp | 148 for (const coff_relocation &r : sc->getRelocs()) { in getSymbolLocations()
|
| H A D | PDB.cpp | 1770 for (const coff_relocation &r : dbgC->getRelocs()) { in findLineTable()
|
| /freebsd/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 | COFFWriter.cpp | 180 FileSize += sizeof(coff_relocation); in layoutSections() 186 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections() 410 object::coff_relocation R; in writeSections()
|
| H A D | COFFReader.cpp | 72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | COFF.h | 483 struct coff_relocation { struct 916 const coff_relocation *toRel(DataRefImpl Rel) const; 1091 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const; 1188 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const; 1441 std::vector<const coff_relocation *> Relocs;
|
| /freebsd/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()
|