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() 1243 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel() 1244 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel() 1249 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext() [all …]
|
H A D | COFFImportFile.cpp | 276 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor() 305 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor() 321 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 | 359 const coff_relocation &rel, in maybeReportRelocationToDiscarded() 401 for (const coff_relocation &rel : getRelocs()) { in writeTo() 422 const coff_relocation &rel) const { in applyRelocation() 466 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations() 472 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations() 473 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations() 474 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations() 492 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection() 522 static uint8_t getBaserelType(const coff_relocation &rel, in getBaserelType() 555 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() 195 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
|
H A D | Chunks.h | 29 using llvm::object::coff_relocation; 228 symbol_iterator, const coff_relocation *, 234 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator() 268 void applyRelocation(uint8_t *off, const coff_relocation &rel) const; 307 ArrayRef<coff_relocation> getRelocs() const { in getRelocs() 312 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs() 396 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() 1877 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/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/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/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()
|