Home
last modified time | relevance | path

Searched refs:coff_section (Results 1 – 25 of 34) 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,
49 void printUnwindInfo(const Context &Ctx, const object::coff_section *Section,
52 const object::coff_section *Section,
H A DWin64EHDumper.cpp163 const coff_section *Section, uint64_t Offset, in formatSymbol()
209 const coff_section *Section, in resolveRelocation()
211 const coff_section *&ResolvedSection, in resolveRelocation()
230 static const object::coff_section *
245 const coff_section *Section, in printRuntimeFunctionEntry()
335 void Dumper::printUnwindInfo(const Context &Ctx, const coff_section *Section, in printUnwindInfo()
381 const coff_section *Section, in printRuntimeFunction()
387 const coff_section *XData = nullptr; in printRuntimeFunction()
425 const coff_section *PData = Ctx.COFF.getCOFFSection(Section); in printData()
H A DCOFFDumper.cpp151 void printRelocatedField(StringRef Label, const coff_section *Sec,
171 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
173 std::error_code resolveSymbolName(const coff_section *Section,
175 std::error_code resolveSymbolName(const coff_section *Section,
183 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
242 const coff_section *Sec;
259 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
280 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
295 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
307 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, in printRelocatedField()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp275 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
288 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
293 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
294 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
305 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
414 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
424 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor()
430 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor()
475 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullThunk()
487 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/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h147 const object::coff_section *Section);
153 const object::coff_section *Section);
167 const object::coff_section *Section);
169 const object::coff_section *Section);
170 static bool isComdatSection(const object::coff_section *Section);
176 const object::coff_section *Sec,
H A DCOFFLinkGraphBuilder.cpp47 const object::coff_section *Sec) { in getSectionSize()
57 const object::coff_section *Section) { in getSectionAddress()
62 const object::coff_section *Section) { in isComdatSection()
91 const object::coff_section *Sec, in getCOFFSectionName()
123 Expected<const object::coff_section *> Sec = Obj.getSection(SecIndex); in graphifySections()
213 const object::coff_section *Sec = nullptr; in graphifySymbols()
367 object::COFFSymbolRef Symbol, const object::coff_section *Section) { in createExternalSymbol()
465 object::COFFSymbolRef Symbol, const object::coff_section *Section) { in createDefinedSymbol()
/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.h27 struct coff_section;
84 LLVM_ABI FixedStreamArray<object::coff_section> getSectionHeaders() const;
130 FixedStreamArray<object::coff_section> SectionHeaders;
H A DDbiStreamBuilder.h88 LLVM_ABI void createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.h54 using llvm::object::coff_section;
200 const coff_section *addrsigSec = nullptr;
202 const coff_section *callgraphSec = nullptr;
228 const coff_section* getSection(uint32_t i);
229 const coff_section *getSection(COFFSymbolRef sym) { in getSection()
H A DChunks.h30 using llvm::object::coff_section;
251 SectionChunk(ObjFile *file, const coff_section *header, Kind k = SectionKind);
370 const coff_section *header;
417 SectionChunkEC(ObjFile *file, const coff_section *header) in SectionChunkEC()
963 coff_section section;
969 FakeSectionChunk(const coff_section *section) : chunk(nullptr, section) { in FakeSectionChunk()
H A DWriter.h80 llvm::object::coff_section header = {};
H A DInputFiles.cpp350 const coff_section *ObjFile::getSection(uint32_t i) { in getSection()
369 const coff_section *sec = getSection(i); in initializeChunks()
380 const coff_section *sec = getSection(sectionNumber); in readSection()
479 const coff_section *parentSec = getSection(parentIndex); in readAssociativeDefinition()
857 auto *hdr = make<coff_section>(); in createDefined()
1482 const coff_section *sec = CHECK(coffObj->getSection(i), file); in isRVACode()
/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/include/llvm/Object/
H A DCOFF.h449 struct coff_section { struct
891 const coff_section *SectionTable;
915 const coff_section *toSec(DataRefImpl Sec) const;
1088 const coff_section *getCOFFSection(const SectionRef &Section) const;
1152 Expected<const coff_section *> getSection(int32_t index) const;
1188 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1190 Expected<StringRef> getSectionName(const coff_section *Sec) const;
1191 uint64_t getSectionSize(const coff_section *Sec) const;
1192 Error getSectionContents(const coff_section *Sec,
/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.cpp101 const coff_section *CoffSection, in printRelocatedField()
113 void LVCodeViewReader::getLinkageName(const coff_section *CoffSection, in getLinkageName()
163 const coff_section *CoffSection = getObj().getCOFFSection(Section); in cacheRelocations()
177 Error LVCodeViewReader::resolveSymbol(const coff_section *CoffSection, in resolveSymbol()
197 Error LVCodeViewReader::resolveSymbolName(const coff_section *CoffSection, in resolveSymbolName()
826 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()
214 auto Permissions = [](const object::coff_section *Section) -> uint32_t { in CreateSections()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp345 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
383 const coff_section *Section; in getSectionContents()
620 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()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFThumb.h71 const coff_section *CoffSec = COFFObjPtr->getCOFFSection(Sec); in getJITSymbolFlags()

12