Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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,
168 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
170 std::error_code resolveSymbolName(const coff_section *Section,
172 std::error_code resolveSymbolName(const coff_section *Section,
180 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
240 const coff_section *Sec;
257 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
278 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
293 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
305 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, in printRelocatedField()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
220 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()
[all …]
H A DCOFFObjectFile.cpp119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
120 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
129 assert(Offset % sizeof(coff_section) == 0 && in toSec()
175 Expected<const coff_section *> Section = getSection(SectionNumber); in getSymbolAddress()
251 Expected<const coff_section *> Sec = getSection(Symb.getSectionNumber()); in getSymbolSection()
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()
[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()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dcoffgrok.h47 struct coff_section struct
66 struct coff_section *sections; argument
76 struct coff_section *parent;
162 struct coff_section * sec; /* Which section. */
204 struct coff_section *section;
H A Dsrconv.c47 (struct coff_sfile *, struct coff_section *, struct coff_symbol *, int);
49 (struct coff_section *, struct coff_sfile *, struct coff_scope *, int, int);
50 static int find_base (struct coff_sfile *, struct coff_section *);
403 wr_sh (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *sec) in wr_sh()
416 wr_ob (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *section) in wr_ob()
477 wr_rl (struct coff_ofile *ptr ATTRIBUTE_UNUSED, struct coff_section *sec) in wr_rl()
549 struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_start()
585 wr_dps_end (struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_end()
919 walk_tree_symbol (struct coff_sfile *sfile, struct coff_section *section ATTRIBUTE_UNUSED, struct c… in walk_tree_symbol()
1133 walk_tree_scope (struct coff_section *section, struct coff_sfile *sfile, struct coff_scope *scope, … in walk_tree_scope()
[all …]
H A Dcoffdump.c46 static void dump_coff_section (struct coff_section *);
418 dump_coff_section (struct coff_section *ptr) in dump_coff_section()
H A Dcoffgrok.c116 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
117 sizeof (struct coff_section))); in do_sections_p1()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dcoffgrok.h47 struct coff_section struct
66 struct coff_section *sections; argument
76 struct coff_section *parent;
162 struct coff_section * sec; /* Which section. */
204 struct coff_section *section;
H A Dsrconv.c47 (struct coff_sfile *, struct coff_section *, struct coff_symbol *, int);
49 (struct coff_section *, struct coff_sfile *, struct coff_scope *, int, int);
50 static int find_base (struct coff_sfile *, struct coff_section *);
403 wr_sh (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *sec) in wr_sh()
416 wr_ob (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *section) in wr_ob()
477 wr_rl (struct coff_ofile *ptr ATTRIBUTE_UNUSED, struct coff_section *sec) in wr_rl()
549 struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_start()
585 wr_dps_end (struct coff_section *section ATTRIBUTE_UNUSED, in wr_dps_end()
919 walk_tree_symbol (struct coff_sfile *sfile, struct coff_section *section ATTRIBUTE_UNUSED, struct c… in walk_tree_symbol()
1133 walk_tree_scope (struct coff_section *section, struct coff_sfile *sfile, struct coff_scope *scope, … in walk_tree_scope()
[all …]
H A Dcoffdump.c46 static void dump_coff_section (struct coff_section *);
419 dump_coff_section (struct coff_section *ptr) in dump_coff_section()
H A Dcoffgrok.c116 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
117 sizeof (struct coff_section))); in do_sections_p1()
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp120 const object::coff_section *COFFSection = Obj.getCOFFSection(S); in initializeFileAndStringTable()
154 const object::coff_section *COFFSection = Obj.getCOFFSection(ObjSection); in dumpSections()
/netbsd-src/external/apache2/llvm/dist/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()

12