Home
last modified time | relevance | path

Searched refs:coff_section (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.h19 struct coff_section;
28 typedef std::error_code (*SymbolResolver)(const object::coff_section *,
44 const object::coff_section *Section,
48 void printUnwindInfo(const Context &Ctx, const object::coff_section *Section,
51 const object::coff_section *Section,
H A DWin64EHDumper.cpp129 const coff_section *Section, uint64_t Offset, in formatSymbol()
168 const coff_section *Section, in resolveRelocation()
170 const coff_section *&ResolvedSection, in resolveRelocation()
189 static const object::coff_section *
204 const coff_section *Section, in printRuntimeFunctionEntry()
275 void Dumper::printUnwindInfo(const Context &Ctx, const coff_section *Section, in printUnwindInfo()
320 const coff_section *Section, in printRuntimeFunction()
326 const coff_section *XData = nullptr; in printRuntimeFunction()
364 const coff_section *PData = Ctx.COFF.getCOFFSection(Section); in printData()
H A DCOFFDumper.cpp148 void printRelocatedField(StringRef Label, const coff_section *Sec,
170 std::error_code resolveSymbolName(const coff_section *Section,
172 std::error_code resolveSymbolName(const coff_section *Section,
240 const coff_section *Sec;
257 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
331 const coff_section *Section = Obj->getCOFFSection(Sec); in printBinaryBlockWithRelocs()
596 const coff_section *Section = Obj->getCOFFSection(S); in cacheRelocations()
1364 const coff_section *Section = Obj->getCOFFSection(Sec); in printSectionHeaders()
1478 const coff_section *Section) { in getSectionName()
1494 Expected<const coff_section *> SecOrErr = in printSymbol()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp190 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
203 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
208 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
209 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
329 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
339 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor()
345 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor()
390 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullThunk()
402 const coff_section SectionTable[NumberOfSections] = { in createNullThunk()
501 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section))), in createWeakExternal()
[all …]
H A DCOFFObjectFile.cpp120 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
265 const coff_section *Sec = toSec(Ref); in moveSectionNext()
271 const coff_section *Sec = toSec(Ref); in getSectionName()
276 const coff_section *Sec = toSec(Ref); in getSectionAddress()
295 const coff_section *Sec = toSec(Ref); in getSectionContents()
303 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
312 const coff_section *Sec = toSec(Ref); in isSectionText()
317 const coff_section *Sec = toSec(Ref); in isSectionData()
322 const coff_section *Sec = toSec(Ref); in isSectionBSS()
350 const coff_section *Sec = toSec(Ref); in isSectionVirtual()
[all …]
H A DWindowsResource.cpp748 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
764 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader()
766 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
782 CurrentOffset += sizeof(coff_section); in writeFirstSection()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h29 struct coff_section;
81 FixedStreamArray<object::coff_section> getSectionHeaders() const;
125 FixedStreamArray<object::coff_section> SectionHeaders;
H A DDbiStreamBuilder.h34 struct coff_section;
87 void createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DInputFiles.h50 using llvm::object::coff_section;
198 const coff_section *addrsigSec = nullptr;
200 const coff_section *callgraphSec = nullptr;
226 const coff_section* getSection(uint32_t i);
227 const coff_section *getSection(COFFSymbolRef sym) { in getSection()
H A DInputFiles.cpp201 const coff_section *ObjFile::getSection(uint32_t i) { in getSection()
220 const coff_section *sec = getSection(i); in initializeChunks()
231 const coff_section *sec = getSection(sectionNumber); in readSection()
324 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
1045 coff_section section;
1051 FakeSectionChunk(const coff_section *section) : chunk(nullptr, section) { in FakeSectionChunk()
1138 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
H A DWriter.h74 llvm::object::coff_section header = {};
H A DChunks.h31 using llvm::object::coff_section;
201 SectionChunk(ObjFile *file, const coff_section *header);
319 const coff_section *header;
H A DPDB.cpp64 using llvm::object::coff_section;
1657 ArrayRef<object::coff_section> sections = { in addSections()
1658 (const object::coff_section *)sectionTable.data(), in addSections()
1659 sectionTable.size() / sizeof(object::coff_section)}; in addSections()
H A DWriter.cpp338 auto *hdr = reinterpret_cast<coff_section *>(buf); in writeHeaderTo()
1277 sizeof(coff_section) * outputSections.size(); in assignAddresses()
1507 buf += sizeof(coff_section); in writeHeader()
1510 buf - outputSections.size() * sizeof(coff_section), buf); in writeHeader()
H A DChunks.cpp32 SectionChunk::SectionChunk(ObjFile *f, const coff_section *h) in SectionChunk()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h440 struct coff_section { struct
810 const coff_section *SectionTable;
832 const coff_section *toSec(DataRefImpl Sec) const;
979 const coff_section *getCOFFSection(const SectionRef &Section) const;
1037 Expected<const coff_section *> getSection(int32_t index) const;
1073 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1075 Expected<StringRef> getSectionName(const coff_section *Sec) const;
1076 uint64_t getSectionSize(const coff_section *Sec) const;
1077 Error getSectionContents(const coff_section *Sec,
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp201 FixedStreamArray<object::coff_section> DbiStream::getSectionHeaders() const { in getSectionHeaders()
269 if (StreamLen % sizeof(object::coff_section)) in initializeSectionHeadersData()
273 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData()
H A DDbiStreamBuilder.cpp354 ArrayRef<llvm::object::coff_section> SecHdrs) { in createSectionMap()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DReader.cpp60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I); in readSections()
63 const coff_section *Sec = *SecOrErr; in readSections()
H A DObject.h37 object::coff_section Header;
H A DWriter.cpp195 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp163 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
201 const coff_section *Section; in getSectionContents()
456 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp74 const llvm::object::coff_section &cs = dbi().getSectionHeaders()[segment - 1]; in MakeVirtualAddress()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp500 ArrayRef<llvm::object::coff_section>>>
520 ArrayRef<object::coff_section> Headers; in loadSectionHeaders()
521 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders()
526 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders()
538 ArrayRef<object::coff_section> Headers; in getSectionNames()
1878 ArrayRef<object::coff_section> Headers; in dumpSectionHeaders()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp473 const coff_section *CoffSection = COFFObj->getCOFFSection(Section); in isRequiredForExecution()

12