Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h42 class SectionRef; variable
80 class SectionRef {
87 SectionRef() = default;
168 friend class SectionRef; variable
260 friend class SectionRef; variable
310 return std::vector<SectionRef>(); in dynamic_relocation_sections()
423 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function
428 inline bool SectionRef::operator==(const SectionRef &Other) const {
433 inline bool SectionRef::operator!=(const SectionRef &Other) const {
437 inline bool SectionRef::operator<(const SectionRef &Other) const {
[all …]
H A DELFObjectFile.h101 class ELFSectionRef : public SectionRef {
103 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
104 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
108 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
236 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT()
237 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT()
790 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
883 std::vector<SectionRef>
885 std::vector<SectionRef> Res; in dynamic_relocation_sections()
1143 return section_iterator(SectionRef()); in section_begin()
[all …]
H A DDecompressor.h45 static bool isCompressed(const object::SectionRef &Section);
H A DMachO.h284 unsigned getSectionType(SectionRef Sec) const;
293 unsigned getSectionID(SectionRef Sec) const;
304 Expected<SectionRef> getSection(unsigned SectionIndex) const;
305 Expected<SectionRef> getSection(StringRef SectionName) const;
485 SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h138 ErrorOr<object::SectionRef>
147 const object::SectionRef &Section, uint64_t Offset);
151 const object::SectionRef &Section,
160 const object::SectionRef &Section,
163 const object::SectionRef Section, uint64_t Offset,
166 const object::SectionRef Section, uint64_t Offset,
169 const object::SectionRef Section, uint64_t Offset,
172 const object::SectionRef Section, unsigned Entry,
175 const object::SectionRef Section);
H A DObjDumper.cpp74 static std::vector<object::SectionRef>
77 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex()
89 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
120 for (object::SectionRef Section : in printSectionsAsString()
138 for (object::SectionRef Section : in printSectionsAsHex()
H A DCOFFDumper.cpp239 const SectionRef &SR;
595 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
934 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
941 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
1913 SectionRef StackMapSection; in printStackMap()
1927 if (StackMapSection == SectionRef()) in printStackMap()
1944 SectionRef AddrsigSection; in printAddrsig()
1958 if (AddrsigSection == SectionRef()) in printAddrsig()
1982 SectionRef CGProfileSection; in printCGProfile()
1983 for (SectionRef Sec : Obj->sections()) { in printCGProfile()
[all …]
H A DWasmDumper.cpp70 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc);
83 void WasmDumper::printRelocation(const SectionRef &Section, in printRelocation()
124 for (const SectionRef &Section : Obj->sections()) { in printRelocations()
156 for (const SectionRef &Section : Obj->sections()) { in printSectionHeaders()
H A DARMWinEHPrinter.cpp200 ErrorOr<object::SectionRef>
231 const SectionRef &Section, in getRelocatedSymbol()
264 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation()
905 const SectionRef &Section, in dumpXDataRecord()
1016 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
1077 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry()
1086 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
1127 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry()
1256 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
1274 const SectionRef Section) { in dumpProcedureData()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp272 [Idx](object::SectionRef S) { in ToolSectionFilter()
779 Optional<SectionRef> Plt = None; in addPltEntries()
838 for (SectionRef Sec : Obj.sections()) { in getRelocsMap()
1178 for (SectionRef Sec : Obj->sections()) in disassembleObject()
1730 MapVector<SectionRef, std::vector<SectionRef>> SecToRelSec; in printRelocations()
1744 for (std::pair<SectionRef, std::vector<SectionRef>> &P : SecToRelSec) { in printRelocations()
1753 for (SectionRef Section : P.second) { in printRelocations()
1789 for (const SectionRef &Section : DynRelSec) in printDynamicRelocations()
2111 Optional<object::SectionRef> ClangASTSection; in printRawClangAST()
2146 Optional<object::SectionRef> FaultMapSection; in printFaultMaps()
[all …]
H A DMachODump.cpp2559 SectionRef S;
3982 SectionRef S; in get_objc2_64bit_class_name()
4032 SectionRef S; in get_objc2_64bit_cfstring_name()
4065 SectionRef S; in get_objc2_64bit_selref()
4204 SectionRef S; in print_layout_map64()
4215 SectionRef S; in print_layout_map32()
4380 SectionRef S; in print_method_list()
4671 SectionRef S; in print_method_description_list()
4741 SectionRef S; in print_protocol()
4801 SectionRef S; in print_protocol_list()
[all …]
H A Dllvm-objdump.h67 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
79 const llvm::object::SectionRef &operator*() const { return *Iterator; }
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h129 const SectionRef &Section) { in finalizeSection()
172 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
186 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
213 const SectionRef &JTSection, in populateJumpTable()
H A DRuntimeDyldMachOX86_64.h124 const SectionRef &Section) { in finalizeSection()
189 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
215 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
H A DRuntimeDyldMachOARM.h290 const SectionRef &Section) { in finalizeSection()
383 SectionRef SectionA = *SAI; in processHALFSECTDIFFRelocation()
397 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp80 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap;
83 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols()
88 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols()
107 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets()
112 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets()
177 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData()
204 const SectionRef &Sec = *SecI; in dumpCXXData()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
H A DObjectFile.cpp47 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
101 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h261 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
372 const SectionRef &Section,
381 const SectionRef &Section, bool IsCode,
430 const SectionRef &Section);
H A DRuntimeDyld.cpp170 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
468 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
491 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
509 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
541 const SectionRef &Section = *SI; in computeTotalAllocSize()
657 const SectionRef &Section) { in computeSectionStubBufSize()
791 const SectionRef &Section, in emitSection()
909 const SectionRef &Section, in findOrEmitSection()
1255 const object::SectionRef &Sec) const { in getSectionLoadAddress()
H A DRuntimeDyldMachO.cpp77 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA()
126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
182 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp66 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection()
93 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection()
103 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection()
489 SectionRef SR = *Iter; in scanToNextDebugS()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>;
82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/
H A DReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h268 virtual uint64_t getSectionLoadAddress(const object::SectionRef &Sec) const { in getSectionLoadAddress()
283 virtual bool getLoadedSectionContents(const object::SectionRef &Sec, in getLoadedSectionContents()

123