Home
last modified time | relevance | path

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

12

/freebsd/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.cpp160 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 DCOFFDumper.cpp150 void printRelocatedField(StringRef Label, const coff_section *Sec,
170 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
172 std::error_code resolveSymbolName(const coff_section *Section,
174 std::error_code resolveSymbolName(const coff_section *Section,
182 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
241 const coff_section *Sec;
258 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
279 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
294 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
306 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, in printRelocatedField()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h139 const object::coff_section *Section);
145 const object::coff_section *Section);
159 const object::coff_section *Section);
161 const object::coff_section *Section);
162 static bool isComdatSection(const object::coff_section *Section);
168 const object::coff_section *Sec,
H A DCOFFLinkGraphBuilder.cpp53 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()
219 const object::coff_section *Sec = nullptr; in graphifySymbols()
370 object::COFFSymbolRef Symbol, const object::coff_section *Section) { in createExternalSymbol()
464 object::COFFSymbolRef Symbol, const object::coff_section *Section) { in createDefinedSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp273 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
286 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
291 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
292 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
303 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
412 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
422 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor()
428 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor()
473 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullThunk()
485 const coff_section SectionTable[NumberOfSections] = { in createNullThunk()
[all …]
H A DCOFFObjectFile.cpp118 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
119 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
128 assert(Offset % sizeof(coff_section) == 0 && in toSec()
174 Expected<const coff_section *> Section = getSection(SectionNumber); in getSymbolAddress()
250 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection()
264 const coff_section *Sec = toSec(Ref); in moveSectionNext()
270 const coff_section *Sec = toSec(Ref); in getSectionName()
275 const coff_section *Sec = toSec(Ref); in getSectionAddress()
294 const coff_section *Sec = toSec(Ref); in getSectionContents()
302 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
[all …]
H A DWindowsResource.cpp747 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
763 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader()
765 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
781 CurrentOffset += sizeof(coff_section); in writeFirstSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.h42 struct coff_section;
119 using RelocMapTy = DenseMap<const llvm::object::coff_section *,
140 const llvm::object::coff_section *CoffSection,
156 Error resolveSymbol(const llvm::object::coff_section *CoffSection,
158 Error resolveSymbolName(const llvm::object::coff_section *CoffSection,
205 void getLinkageName(const llvm::object::coff_section *CoffSection,
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h26 struct coff_section;
83 FixedStreamArray<object::coff_section> getSectionHeaders() const;
127 FixedStreamArray<object::coff_section> SectionHeaders;
H A DDbiStreamBuilder.h84 void createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.h51 using llvm::object::coff_section;
191 const coff_section *addrsigSec = nullptr;
193 const coff_section *callgraphSec = nullptr;
219 const coff_section* getSection(uint32_t i);
220 const coff_section *getSection(COFFSymbolRef sym) { in getSection()
H A DChunks.h30 using llvm::object::coff_section;
243 SectionChunk(ObjFile *file, const coff_section *header, Kind k = SectionKind);
363 const coff_section *header;
410 SectionChunkEC(ObjFile *file, const coff_section *header) in SectionChunkEC()
820 coff_section section;
826 FakeSectionChunk(const coff_section *section) : chunk(nullptr, section) { in FakeSectionChunk()
H A DWriter.h77 llvm::object::coff_section header = {};
H A DInputFiles.cpp206 const coff_section *ObjFile::getSection(uint32_t i) { in getSection()
225 const coff_section *sec = getSection(i); in initializeChunks()
236 const coff_section *sec = getSection(sectionNumber); in readSection()
335 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
1167 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
H A DPDB.cpp69 using llvm::object::coff_section;
1703 ArrayRef<object::coff_section> sections = { in addSections()
1704 (const object::coff_section *)sectionTable.data(), in addSections()
1705 sectionTable.size() / sizeof(object::coff_section)}; in addSections()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h440 struct coff_section { struct
846 const coff_section *SectionTable;
869 const coff_section *toSec(DataRefImpl Sec) const;
1034 const coff_section *getCOFFSection(const SectionRef &Section) const;
1094 Expected<const coff_section *> getSection(int32_t index) const;
1130 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1132 Expected<StringRef> getSectionName(const coff_section *Sec) const;
1133 uint64_t getSectionSize(const coff_section *Sec) const;
1134 Error getSectionContents(const coff_section *Sec,
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp199 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()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFReader.cpp60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I); in readSections()
63 const coff_section *Sec = *SecOrErr; in readSections()
H A DCOFFObject.h36 object::coff_section Header;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp106 const coff_section *CoffSection, in printRelocatedField()
118 void LVCodeViewReader::getLinkageName(const coff_section *CoffSection, in getLinkageName()
168 const coff_section *CoffSection = getObj().getCOFFSection(Section); in cacheRelocations()
182 Error LVCodeViewReader::resolveSymbol(const coff_section *CoffSection, in resolveSymbol()
202 Error LVCodeViewReader::resolveSymbolName(const coff_section *CoffSection, in resolveSymbolName()
832 Expected<const coff_section *> SectionOrErr = in mapRangeAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp193 const coff_section *Section) -> lldb::SectionType { in CreateSections()
218 auto Permissions = [](const object::coff_section *Section) -> uint32_t { in CreateSections()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp327 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
365 const coff_section *Section; in getSectionContents()
602 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp71 const llvm::object::coff_section &cs = dbi().getSectionHeaders()[segment - 1]; in MakeVirtualAddress()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp384 ArrayRef<llvm::object::coff_section>>>
404 ArrayRef<object::coff_section> Headers; in loadSectionHeaders()
405 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders()
410 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders()
422 ArrayRef<object::coff_section> Headers; in getSectionNames()
1783 ArrayRef<object::coff_section> Headers; in dumpSectionHeaders()

12