Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Object/
DCOFFObjectFile.cpp72 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const { in toSec()
73 const coff_section *addr = reinterpret_cast<const coff_section*>(Sec.p); in toSec()
82 assert(offset % sizeof(coff_section) == 0 && in toSec()
121 const coff_section *Section = NULL; in getSymbolOffset()
139 const coff_section *Section = NULL; in getSymbolAddress()
191 const coff_section *Section = NULL; in getSymbolSize()
224 const coff_section *Section = NULL; in getSymbolNMTypeChar()
280 const coff_section *sec = toSec(Sec); in getSectionNext()
289 const coff_section *sec = toSec(Sec); in getSectionName()
312 const coff_section *sec = toSec(Sec); in getSectionAddress()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
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,
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()
DCOFFDumper.cpp135 void printRelocatedField(StringRef Label, const coff_section *Sec,
155 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
157 std::error_code resolveSymbolName(const coff_section *Section,
159 std::error_code resolveSymbolName(const coff_section *Section,
170 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
226 const coff_section *Sec;
249 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
270 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
285 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
297 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, in printRelocatedField()
[all …]
/external/llvm/tools/llvm-readobj/
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,
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()
DCOFFDumper.cpp112 void printRelocatedField(StringRef Label, const coff_section *Sec,
124 std::error_code resolveSymbol(const coff_section *Section, uint64_t Offset,
126 std::error_code resolveSymbolName(const coff_section *Section,
128 std::error_code resolveSymbolName(const coff_section *Section,
136 typedef DenseMap<const coff_section*, std::vector<RelocationRef> > RelocMapTy;
181 const coff_section *Sec;
204 std::error_code COFFDumper::resolveSymbol(const coff_section *Section, in resolveSymbol()
225 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
240 std::error_code COFFDumper::resolveSymbolName(const coff_section *Section, in resolveSymbolName()
252 void COFFDumper::printRelocatedField(StringRef Label, const coff_section *Sec, in printRelocatedField()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
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()
221 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()
[all …]
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()
128 assert(Offset % sizeof(coff_section) == 0 && 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()
[all …]
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()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp116 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
117 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
125 assert(Offset % sizeof(coff_section) == 0 && in toSec()
169 const coff_section *Section = nullptr; in getSymbolAddress()
242 const coff_section *Sec = nullptr; in getSymbolSection()
256 const coff_section *Sec = toSec(Ref); in moveSectionNext()
263 const coff_section *Sec = toSec(Ref); in getSectionName()
268 const coff_section *Sec = toSec(Ref); in getSectionAddress()
283 const coff_section *Sec = toSec(Ref); in getSectionContents()
291 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DDbiStream.h29 struct coff_section;
81 FixedStreamArray<object::coff_section> getSectionHeaders();
118 FixedStreamArray<object::coff_section> SectionHeaders;
DDbiStreamBuilder.h31 struct coff_section;
83 createSectionMap(ArrayRef<llvm::object::coff_section> SecHdrs);
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DCOFF.h57 struct coff_section { struct
79 const coff_section *SectionTable; argument
85 const coff_section *&Res) const;
91 const coff_section *toSec(DataRefImpl Sec) const;
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DDbiStream.h28 struct coff_section;
99 codeview::FixedStreamArray<object::coff_section> getSectionHeaders();
139 codeview::FixedStreamArray<object::coff_section> SectionHeaders;
/external/swiftshader/third_party/LLVM/lib/MC/
DWinCOFFObjectWriter.cpp371 COFFSection *coff_section = createSection(Sec.getSectionName()); in DefineSection() local
374 coff_section->Symbol = coff_symbol; in DefineSection()
375 coff_symbol->Section = coff_section; in DefineSection()
384 coff_section->Header.Characteristics = Sec.getCharacteristics(); in DefineSection()
386 uint32_t &Characteristics = coff_section->Header.Characteristics; in DefineSection()
407 coff_section->MCData = &SectionData; in DefineSection()
408 SectionMap[&SectionData.getSection()] = coff_section; in DefineSection()
654 COFFSection *coff_section = SectionMap[&SectionData->getSection()]; in RecordRelocation() local
728 coff_section->Relocations.push_back(Reloc); in RecordRelocation()
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp267 COFFSection *coff_section = createSection(Sec.getSectionName()); in defineSection() local
274 COMDATSymbol->Section = coff_section; in defineSection()
278 coff_section->Symbol = coff_symbol; in defineSection()
279 coff_symbol->Section = coff_section; in defineSection()
288 coff_section->Header.Characteristics = Sec.getCharacteristics(); in defineSection()
290 uint32_t &Characteristics = coff_section->Header.Characteristics; in defineSection()
339 coff_section->MCSection = &Sec; in defineSection()
340 SectionMap[&Sec] = coff_section; in defineSection()
678 COFFSection *coff_section = SectionMap[Section]; in recordRelocation() local
800 coff_section->Relocations.push_back(Reloc); in recordRelocation()
/external/llvm/include/llvm/Object/
DCOFF.h419 struct coff_section { struct
631 const coff_section *SectionTable;
649 const coff_section *toSec(DataRefImpl Sec) const;
760 const coff_section *getCOFFSection(const SectionRef &Section) const;
805 std::error_code getSection(int32_t index, const coff_section *&Res) const;
853 getRelocations(const coff_section *Sec) const;
855 std::error_code getSectionName(const coff_section *Sec, StringRef &Res) const;
856 uint64_t getSectionSize(const coff_section *Sec) const;
857 std::error_code getSectionContents(const coff_section *Sec,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DCOFF.h438 struct coff_section { struct
770 const coff_section *SectionTable;
790 const coff_section *toSec(DataRefImpl Sec) const;
929 const coff_section *getCOFFSection(const SectionRef &Section) const;
975 std::error_code getSection(int32_t index, const coff_section *&Res) const;
977 const coff_section *&Res) const;
1027 ArrayRef<coff_relocation> getRelocations(const coff_section *Sec) const;
1029 std::error_code getSectionName(const coff_section *Sec, StringRef &Res) const;
1030 uint64_t getSectionSize(const coff_section *Sec) const;
1031 std::error_code getSectionContents(const coff_section *Sec,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp200 FixedStreamArray<object::coff_section> DbiStream::getSectionHeaders() { in getSectionHeaders()
267 if (StreamLen % sizeof(object::coff_section)) in initializeSectionHeadersData()
271 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData()
/external/llvm/lib/DebugInfo/PDB/Raw/
DDbiStream.cpp244 codeview::FixedStreamArray<object::coff_section>
294 if (StreamLen % sizeof(object::coff_section)) in initializeSectionHeadersData()
298 size_t NumSections = StreamLen / sizeof(object::coff_section); in initializeSectionHeadersData()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DCOFFDump.cpp159 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
197 const coff_section *Section; in getSectionContents()
451 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp162 const coff_section *&ResolvedSection, in resolveSectionAndAddress()
202 const coff_section *Section; in getSectionContents()
456 const coff_section *Pdata = Obj->getCOFFSection(Section); in getPDataSection()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dcoff2yaml.cpp123 const object::coff_section *COFFSection = Obj.getCOFFSection(S); in initializeFileAndStringTable()
146 const object::coff_section *COFFSection = Obj.getCOFFSection(ObjSection); in dumpSections()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DDumpOutputStyle.cpp449 ArrayRef<llvm::object::coff_section>>>
469 ArrayRef<object::coff_section> Headers; in loadSectionHeaders()
470 if (Stream->getLength() % sizeof(object::coff_section) != 0) in loadSectionHeaders()
475 uint32_t NumHeaders = Stream->getLength() / sizeof(object::coff_section); in loadSectionHeaders()
487 ArrayRef<object::coff_section> Headers; in getSectionNames()
1571 ArrayRef<object::coff_section> Headers; in dumpSectionHeaders()

12