Home
last modified time | relevance | path

Searched refs:coff_relocation (Results 1 – 15 of 15) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Object/
H A DCOFFObjectFile.cpp363 const coff_relocation *FirstReloc; in getNumberOfRelocations()
376 static const coff_relocation *
1216 const coff_relocation *R = toRel(Rel); in getRelocationOffset()
1221 const coff_relocation *R = toRel(Rel); in getRelocationSymbol()
1235 const coff_relocation* R = toRel(Rel); in getRelocationType()
1256 const coff_relocation *
1261 ArrayRef<coff_relocation>
1370 const coff_relocation *Reloc = toRel(Rel); in getRelocationTypeName()
1862 for (const coff_relocation &R : OrigRelocs) in load()
1864 llvm::sort(Relocs, [](const coff_relocation *A, const coff_relocation *B) { in load()
[all …]
H A DCOFFImportFile.cpp199 NumberOfRelocations * sizeof(coff_relocation) + in createImportDescriptor()
228 NumberOfRelocations * sizeof(coff_relocation)), in createImportDescriptor()
244 const coff_relocation RelocationTable[NumberOfRelocations] = { in createImportDescriptor()
H A DWindowsResource.cpp978 reinterpret_cast<coff_relocation *>(BufferStart + CurrentOffset); in writeFirstSectionRelocations()
998 CurrentOffset += sizeof(coff_relocation); in writeFirstSectionRelocations()
/openbsd/gnu/llvm/lld/COFF/
H A DChunks.cpp358 const coff_relocation &rel, in maybeReportRelocationToDiscarded()
400 for (const coff_relocation &rel : getRelocs()) { in writeTo()
415 const coff_relocation &rel) const { in applyRelocation()
459 auto cmpByVa = [](const coff_relocation &l, const coff_relocation &r) { in sortRelocations()
465 MutableArrayRef<coff_relocation> newRelocs( in sortRelocations()
466 bAlloc().Allocate<coff_relocation>(relocsSize), relocsSize); in sortRelocations()
467 memcpy(newRelocs.data(), relocsData, relocsSize * sizeof(coff_relocation)); in sortRelocations()
485 const coff_relocation &rel = relocsData[nextRelocIndex]; in writeAndRelocateSubsection()
515 static uint8_t getBaserelType(const coff_relocation &rel, in getBaserelType()
548 for (const coff_relocation &rel : getRelocs()) { in getBaserels()
[all …]
H A DICF.cpp153 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsConstant()
183 auto eq = [&](const coff_relocation &r1, const coff_relocation &r2) { in equalsVariable()
H A DChunks.h29 using llvm::object::coff_relocation;
201 symbol_iterator, const coff_relocation *,
207 symbol_iterator(ObjFile *file, const coff_relocation *i) in symbol_iterator()
239 void applyRelocation(uint8_t *off, const coff_relocation &rel) const;
278 ArrayRef<coff_relocation> getRelocs() const { in getRelocs()
283 void setRelocs(ArrayRef<coff_relocation> newRelocs) { in setRelocs()
367 const coff_relocation *relocsData;
H A DWriter.cpp450 ArrayRef<coff_relocation> originalRelocs = in createThunks()
453 const coff_relocation &rel = originalRelocs[j]; in createThunks()
498 ArrayRef<coff_relocation> curRelocs = sc->getRelocs(); in createThunks()
499 MutableArrayRef<coff_relocation> newRelocs; in createThunks()
502 bAlloc().Allocate<coff_relocation>(originalRelocs.size()), in createThunks()
506 const_cast<coff_relocation *>(curRelocs.data()), curRelocs.size()); in createThunks()
533 ArrayRef<coff_relocation> relocs = sc->getRelocs(); in verifyRanges()
535 const coff_relocation &rel = relocs[j]; in verifyRanges()
1709 for (const coff_relocation &reloc : sc->getRelocs()) { in markSymbolsWithRelocations()
H A DSymbolTable.cpp170 for (const coff_relocation &r : sc->getRelocs()) { in getSymbolLocations()
H A DPDB.cpp1729 for (const coff_relocation &r : dbgC->getRelocs()) { in findLineTable()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.h28 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation()
30 object::coff_relocation Reloc;
H A DCOFFReader.cpp72 ArrayRef<coff_relocation> Relocs = COFFObj.getRelocations(Sec); in readSections()
73 for (const coff_relocation &R : Relocs) in readSections()
H A DCOFFWriter.cpp107 FileSize += sizeof(coff_relocation); in layoutSections()
113 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections()
332 object::coff_relocation R; in writeSections()
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DCOFF.h474 struct coff_relocation { struct
822 const coff_relocation *toRel(DataRefImpl Rel) const;
975 const coff_relocation *getCOFFRelocation(const RelocationRef &Reloc) const;
1068 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1262 std::vector<const coff_relocation *> Relocs;
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF_x86_64.cpp68 const object::coff_relocation *COFFRel = getObject().getCOFFRelocation(Rel); in addSingleRelocation()
/openbsd/gnu/llvm/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp199 const object::coff_relocation *reloc = Obj.getCOFFRelocation(Reloc); in dumpSections()