Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DWin64EHDumper.h20 struct coff_section;
29 typedef std::error_code (*SymbolResolver)(const object::coff_section *,
45 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.cpp116 const coff_section *Section, uint64_t Offset, in formatSymbol()
142 const coff_section *Section, in resolveRelocation()
144 const coff_section *&ResolvedSection, in resolveRelocation()
166 const coff_section *Section, in printRuntimeFunctionEntry()
237 void Dumper::printUnwindInfo(const Context &Ctx, const coff_section *Section, in printUnwindInfo()
282 const coff_section *Section, in printRuntimeFunction()
288 const coff_section *XData; in printRuntimeFunction()
313 const coff_section *PData = Ctx.COFF.getCOFFSection(Section); in printData()
H A DCOFFDumper.cpp137 void printRelocatedField(StringRef Label, const coff_section *Sec,
159 std::error_code resolveSymbolName(const coff_section *Section,
161 std::error_code resolveSymbolName(const coff_section *Section,
232 const coff_section *Sec;
255 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
329 const coff_section *Section = Obj->getCOFFSection(Sec); in printBinaryBlockWithRelocs()
610 const coff_section *Section = Obj->getCOFFSection(S); in cacheRelocations()
1287 const coff_section *Section = Obj->getCOFFSection(Sec); in printSectionHeaders()
1403 const coff_section *Section) { in getSectionName()
1423 const coff_section *Section; in printSymbol()
[all …]
/freebsd-12.1/contrib/binutils/binutils/
H A Dcoffgrok.h46 struct coff_section struct
65 struct coff_section *sections; argument
74 struct coff_section *parent;
160 struct coff_section *sec; /* What section */
208 struct coff_section *section;
H A Dsrconv.c58 static void wr_sh (struct coff_ofile *, struct coff_section *);
59 static void wr_ob (struct coff_ofile *, struct coff_section *);
60 static void wr_rl (struct coff_ofile *, struct coff_section *);
64 static void wr_dps_end (struct coff_section *, struct coff_scope *, int);
74 static void walk_tree_sfile (struct coff_section *, struct coff_sfile *);
78 static int find_base (struct coff_sfile *, struct coff_section *);
582 struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_start()
618 wr_dps_end (struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_end()
1294 find_base (struct coff_sfile *sfile, struct coff_section *section) in find_base()
1472 struct coff_section *sec; in wr_sc()
[all …]
H A Dcoffdump.c44 static void dump_coff_section (struct coff_section *);
415 dump_coff_section (struct coff_section *ptr) in dump_coff_section()
H A Dcoffgrok.c133 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
134 sizeof (struct coff_section))); in do_sections_p1()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFImportFile.cpp191 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
204 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
209 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
210 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
330 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
340 const coff_section SectionTable[NumberOfSections] = { in createNullImportDescriptor()
346 (NumberOfSections * sizeof(coff_section))), in createNullImportDescriptor()
391 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullThunk()
403 const coff_section SectionTable[NumberOfSections] = { in createNullThunk()
502 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()
178 const coff_section *Section = nullptr; in getSymbolAddress()
254 const coff_section *Sec = nullptr; in getSymbolSection()
268 const coff_section *Sec = toSec(Ref); in moveSectionNext()
275 const coff_section *Sec = toSec(Ref); in getSectionName()
280 const coff_section *Sec = toSec(Ref); in getSectionAddress()
299 const coff_section *Sec = toSec(Ref); in getSectionContents()
307 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
316 const coff_section *Sec = toSec(Ref); in isSectionText()
321 const coff_section *Sec = toSec(Ref); in isSectionData()
[all …]
H A DWindowsResource.cpp458 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeFirstSectionHeader()
474 CurrentOffset += sizeof(coff_section); in writeSecondSectionHeader()
476 reinterpret_cast<coff_section *>(BufferStart + CurrentOffset); in writeSecondSectionHeader()
492 CurrentOffset += sizeof(coff_section); in writeFirstSection()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiStream.h29 struct coff_section;
81 FixedStreamArray<object::coff_section> getSectionHeaders() const;
118 FixedStreamArray<object::coff_section> SectionHeaders;
H A DDbiStreamBuilder.h35 struct coff_section;
90 createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DCOFF.h438 struct coff_section { struct
772 const coff_section *SectionTable;
792 const coff_section *toSec(DataRefImpl Sec) const;
932 const coff_section *getCOFFSection(const SectionRef &Section) const;
981 std::error_code getSection(int32_t index, const coff_section *&Res) const;
983 const coff_section *&Res) const;
1035 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1037 std::error_code getSectionName(const coff_section *Sec, StringRef &Res) const;
1038 uint64_t getSectionSize(const coff_section *Sec) const;
1039 std::error_code getSectionContents(const coff_section *Sec,
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp200 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-12.1/contrib/llvm/tools/lld/COFF/
H A DInputFiles.h44 using llvm::object::coff_section;
152 const coff_section *AddrsigSec = nullptr;
H A DChunks.h31 using llvm::object::coff_section;
153 SectionChunk(ObjFile *File, const coff_section *Header);
219 const coff_section *Header;
H A DWriter.h63 llvm::object::coff_section Header = {};
H A DInputFiles.cpp143 const coff_section *Sec; in initializeChunks()
157 const coff_section *Sec; in readSection()
H A DPDB.cpp66 using llvm::object::coff_section;
1609 ArrayRef<object::coff_section> Sections = { in addSections()
1610 (const object::coff_section *)SectionTable.data(), in addSections()
1611 SectionTable.size() / sizeof(object::coff_section)}; in addSections()
H A DWriter.cpp290 auto *Hdr = reinterpret_cast<coff_section *>(Buf); in writeHeaderTo()
1080 sizeof(coff_section) * OutputSections.size(); in assignAddresses()
1285 Buf += sizeof(coff_section); in writeHeader()
1288 Buf - OutputSections.size() * sizeof(coff_section), Buf); in writeHeader()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp161 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
199 const coff_section *Section; in getSectionContents()
453 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
/freebsd-12.1/contrib/llvm/tools/llvm-objcopy/COFF/
H A DObject.h37 object::coff_section Header;
H A DReader.cpp64 const coff_section *Sec; in readSections()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp466 ArrayRef<llvm::object::coff_section>>>
486 ArrayRef<object::coff_section> Headers; in loadSectionHeaders()
487 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders()
492 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders()
504 ArrayRef<object::coff_section> Headers; in getSectionNames()
1770 ArrayRef<object::coff_section> Headers; in dumpSectionHeaders()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp75 const llvm::object::coff_section &cs = dbi().getSectionHeaders()[segment - 1]; in MakeVirtualAddress()

12