| /llvm-project-15.0.7/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.h | 19 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 D | Win64EHDumper.cpp | 160 const coff_section *Section, uint64_t Offset, in formatSymbol() 206 const coff_section *Section, in resolveRelocation() 208 const coff_section *&ResolvedSection, in resolveRelocation() 227 static const object::coff_section * 242 const coff_section *Section, in printRuntimeFunctionEntry() 314 void Dumper::printUnwindInfo(const Context &Ctx, const coff_section *Section, in printUnwindInfo() 359 const coff_section *Section, in printRuntimeFunction() 365 const coff_section *XData = nullptr; in printRuntimeFunction() 403 const coff_section *PData = Ctx.COFF.getCOFFSection(Section); in printData()
|
| H A D | COFFDumper.cpp | 149 void printRelocatedField(StringRef Label, const coff_section *Sec, 171 std::error_code resolveSymbolName(const coff_section *Section, 173 std::error_code resolveSymbolName(const coff_section *Section, 241 const coff_section *Sec; 258 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol() 332 const coff_section *Section = Obj->getCOFFSection(Sec); in printBinaryBlockWithRelocs() 597 const coff_section *Section = Obj->getCOFFSection(S); in cacheRelocations() 1368 const coff_section *Section = Obj->getCOFFSection(Sec); in printSectionHeaders() 1482 const coff_section *Section) { in getSectionName() 1498 Expected<const coff_section *> SecOrErr = in printSymbol() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | COFFImportFile.cpp | 194 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor() 207 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor() 212 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor() 213 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor() 333 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor() 343 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor() 349 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor() 394 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullThunk() 406 const coff_section SectionTable[NumberOfSections] = { in createNullThunk() 505 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section))), in createWeakExternal() [all …]
|
| H A D | COFFObjectFile.cpp | 120 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 D | WindowsResource.cpp | 746 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader() 762 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader() 764 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader() 780 CurrentOffset += sizeof(coff_section); in writeFirstSection()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.h | 138 const object::coff_section *Section); 149 const object::coff_section *Section); 151 const object::coff_section *Section); 152 static bool isComdatSection(const object::coff_section *Section); 156 const object::coff_section *Sec,
|
| H A D | COFFLinkGraphBuilder.cpp | 53 const object::coff_section *Sec) { in getSectionSize() 63 const object::coff_section *Section) { in getSectionAddress() 68 const object::coff_section *Section) { in isComdatSection() 97 const object::coff_section *Sec, in getCOFFSectionName() 129 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections() 206 const object::coff_section *Sec = nullptr; in graphifySymbols() 384 object::COFFSymbolRef Symbol, const object::coff_section *Section) { in createDefinedSymbol()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | DbiStream.h | 26 struct coff_section; 83 FixedStreamArray<object::coff_section> getSectionHeaders() const; 127 FixedStreamArray<object::coff_section> SectionHeaders;
|
| H A D | DbiStreamBuilder.h | 85 void createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | InputFiles.h | 51 using llvm::object::coff_section; 188 const coff_section *addrsigSec = nullptr; 190 const coff_section *callgraphSec = nullptr; 216 const coff_section* getSection(uint32_t i); 217 const coff_section *getSection(COFFSymbolRef sym) { in getSection()
|
| H A D | InputFiles.cpp | 172 const coff_section *ObjFile::getSection(uint32_t i) { in getSection() 191 const coff_section *sec = getSection(i); in initializeChunks() 202 const coff_section *sec = getSection(sectionNumber); in readSection() 295 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition() 1014 coff_section section; 1020 FakeSectionChunk(const coff_section *section) : chunk(nullptr, section) { in FakeSectionChunk() 1114 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
|
| H A D | Writer.h | 72 llvm::object::coff_section header = {};
|
| H A D | Chunks.h | 31 using llvm::object::coff_section; 200 SectionChunk(ObjFile *file, const coff_section *header); 318 const coff_section *header;
|
| H A D | PDB.cpp | 66 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 D | Writer.cpp | 331 auto *hdr = reinterpret_cast<coff_section *>(buf); in writeHeaderTo() 1280 sizeof(coff_section) * ctx.outputSections.size(); in assignAddresses() 1510 buf += sizeof(coff_section); in writeHeader() 1513 buf - ctx.outputSections.size() * sizeof(coff_section), buf); in writeHeader()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | COFF.h | 440 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,
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiStream.cpp | 199 FixedStreamArray<object::coff_section> DbiStream::getSectionHeaders() const { in getSectionHeaders() 267 if (StreamLen % sizeof(object::coff_section)) in initializeSectionHeadersData() 271 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData()
|
| H A D | DbiStreamBuilder.cpp | 351 ArrayRef<llvm::object::coff_section> SecHdrs) { in createSectionMap()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFReader.cpp | 60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I); in readSections() 63 const coff_section *Sec = *SecOrErr; in readSections()
|
| H A D | COFFObject.h | 37 object::coff_section Header;
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | coff2yaml.cpp | 122 const object::coff_section *COFFSection = Obj.getCOFFSection(S); in initializeFileAndStringTable() 156 const object::coff_section *COFFSection = Obj.getCOFFSection(ObjSection); in dumpSections()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | COFFDump.cpp | 316 const coff_section *&ResolvedSection, in resolveSectionAndAddress() 354 const coff_section *Section; in getSectionContents() 588 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbIndex.cpp | 70 const llvm::object::coff_section &cs = dbi().getSectionHeaders()[segment - 1]; in MakeVirtualAddress()
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | DumpOutputStyle.cpp | 383 ArrayRef<llvm::object::coff_section>>> 403 ArrayRef<object::coff_section> Headers; in loadSectionHeaders() 404 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders() 409 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders() 421 ArrayRef<object::coff_section> Headers; in getSectionNames() 1781 ArrayRef<object::coff_section> Headers; in dumpSectionHeaders()
|