Home
last modified time | relevance | path

Searched refs:SectionRef (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DObjectFile.h43 class SectionRef; variable
81 class SectionRef {
88 SectionRef() = default;
142 friend class SectionRef; variable
234 friend class SectionRef; variable
280 return std::vector<SectionRef>(); in dynamic_relocation_sections()
393 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function
398 inline bool SectionRef::operator==(const SectionRef &Other) const {
402 inline bool SectionRef::operator!=(const SectionRef &Other) const {
406 inline bool SectionRef::operator<(const SectionRef &Other) const {
[all …]
H A DELFObjectFile.h93 class ELFSectionRef : public SectionRef {
95 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
96 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
100 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
267 std::vector<SectionRef> dynamic_relocation_sections() const override;
636 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
731 std::vector<SectionRef>
733 std::vector<SectionRef> Res; in dynamic_relocation_sections()
824 return section_iterator(SectionRef(toDRI(*R), this)); in getRelocatedSection()
1002 return section_iterator(SectionRef()); in section_begin()
[all …]
H A DMachO.h287 unsigned getSectionType(SectionRef Sec) const;
296 unsigned getSectionID(SectionRef Sec) const;
307 Expected<SectionRef> getSection(unsigned SectionIndex) const;
308 Expected<SectionRef> getSection(StringRef SectionName) const;
491 SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
H A DDecompressor.h46 static bool isCompressed(const object::SectionRef &Section);
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DObjDumper.cpp35 static Expected<object::SectionRef>
39 object::SectionRef Section; in getSecNameOrIndexAsSecRef()
45 for (object::SectionRef SecRef : Obj->sections()) { in getSecNameOrIndexAsSecRef()
65 Expected<object::SectionRef> SectionRefOrError = in printSectionAsString()
69 object::SectionRef Section = *SectionRefOrError; in printSectionAsString()
99 Expected<object::SectionRef> SectionRefOrError = in printSectionAsHex()
103 object::SectionRef Section = *SectionRefOrError; in printSectionAsHex()
H A DARMWinEHPrinter.h130 ErrorOr<object::SectionRef>
139 const object::SectionRef &Section, uint64_t Offset);
142 const object::SectionRef &Section,
145 const object::SectionRef Section, uint64_t Offset,
148 const object::SectionRef Section, uint64_t Offset,
151 const object::SectionRef Section, unsigned Entry,
154 const object::SectionRef Section);
H A DWasmDumper.cpp59 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
69 void WasmDumper::printRelocation(const SectionRef &Section, in printRelocation()
120 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
152 for (const SectionRef &Section : Obj->sections()) { in printSectionHeaders()
H A DCOFFDumper.cpp231 const SectionRef &SR;
609 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
907 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
915 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
1232 for (const SectionRef &S : Obj->sections()) { in mergeCodeViewTypes()
1285 for (const SectionRef &Sec : Obj->sections()) { in printSectionHeaders()
1718 for (const SectionRef &S : Obj->sections()) { in printCOFFResources()
1838 object::SectionRef StackMapSection; in printStackMap()
1848 if (StackMapSection == object::SectionRef()) in printStackMap()
1866 object::SectionRef AddrsigSection; in printAddrsig()
[all …]
H A DARMWinEHPrinter.cpp212 ErrorOr<object::SectionRef>
243 const SectionRef &Section, in getRelocatedSymbol()
812 const SectionRef &Section, in dumpXDataRecord()
920 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
1002 ErrorOr<SectionRef> Section = getSectionContaining(COFF, Address); in dumpUnpackedEntry()
1011 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
1065 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
1083 const SectionRef Section) { in dumpProcedureData()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp2213 SectionRef S;
3649 SectionRef S; in get_objc2_64bit_class_name()
3699 SectionRef S; in get_objc2_64bit_cfstring_name()
3732 SectionRef S; in get_objc2_64bit_selref()
3864 SectionRef S; in print_layout_map64()
3875 SectionRef S; in print_layout_map32()
4040 SectionRef S; in print_method_list()
4331 SectionRef S; in print_method_description_list()
4401 SectionRef S; in print_protocol()
4461 SectionRef S; in print_protocol_list()
[all …]
H A Dllvm-objdump.cpp334 [](llvm::object::SectionRef const &S) { in ToolSectionFilter()
614 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
1273 Optional<SectionRef> Plt = None; in addPltEntries()
1274 for (const SectionRef &Section : Obj->sections()) { in addPltEntries()
1387 std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; in disassembleObject()
1388 for (const SectionRef &Section : ToolSectionFilter(*Obj)) { in disassembleObject()
1396 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassembleObject()
1435 for (SectionRef Sec : Obj->sections()) in disassembleObject()
1914 for (const SectionRef &Section : DynRelSec) { in printDynamicRelocations()
2206 Optional<object::SectionRef> ClangASTSection; in printRawClangAST()
[all …]
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h130 const SectionRef &Section) { in finalizeSection()
170 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
184 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
211 const SectionRef &JTSection, in populateJumpTable()
H A DRuntimeDyldMachOX86_64.h125 const SectionRef &Section) { in finalizeSection()
190 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
216 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
H A DRuntimeDyldMachOARM.h291 const SectionRef &Section) { in finalizeSection()
381 SectionRef SectionA = *SAI; in processHALFSECTDIFFRelocation()
395 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
/freebsd-12.1/contrib/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp75 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
78 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
83 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
102 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
107 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
172 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
195 const SectionRef &Sec = *SecI; in dumpCXXData()
/freebsd-12.1/contrib/llvm/lib/Object/
H A DSymbolSize.cpp28 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
63 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
H A DObjectFile.cpp41 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
89 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DELFObjectFile.cpp359 Optional<SectionRef> Plt = None, RelaPlt = None, GotPlt = None; in getPltAddresses()
360 for (const SectionRef &Section : sections()) { in getPltAddresses()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp171 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
410 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
433 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
451 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
483 const SectionRef &Section = *SI; in computeTotalAllocSize()
588 const SectionRef &Section) { in computeSectionStubBufSize()
714 const SectionRef &Section, in emitSection()
828 const SectionRef &Section, in findOrEmitSection()
1181 const object::SectionRef &Sec) const { in getSectionLoadAddress()
H A DRuntimeDyldImpl.h267 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
396 const SectionRef &Section,
405 const SectionRef &Section, bool IsCode,
454 const SectionRef &Section);
H A DRuntimeDyldMachO.cpp78 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA()
127 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
183 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>;
82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp67 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection()
90 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection()
100 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection()
485 SectionRef SR = *Iter; in scanToNextDebugS()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/
H A DDIContext.h236 virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const { in getSectionLoadAddress()
251 virtual bool getLoadedSectionContents(const object::SectionRef &Sec, in getLoadedSectionContents()
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp70 auto I = llvm::find_if(Sections, [&](object::SectionRef Section) { in loadObj()
101 for (const object::SectionRef &Section : Sections) { in loadObj()

12