Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/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
315 return std::vector<SectionRef>(); in dynamic_relocation_sections()
433 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function
438 inline bool SectionRef::operator==(const SectionRef &Other) const {
443 inline bool SectionRef::operator!=(const SectionRef &Other) const {
447 inline bool SectionRef::operator<(const SectionRef &Other) const {
[all …]
H A DELFObjectFile.h113 class ELFSectionRef : public SectionRef {
115 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
116 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
120 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
248 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT()
249 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT()
806 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
899 std::vector<SectionRef>
901 std::vector<SectionRef> Res; in dynamic_relocation_sections()
1160 return section_iterator(SectionRef()); in section_begin()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h139 ErrorOr<object::SectionRef>
148 const object::SectionRef &Section, uint64_t Offset);
152 const object::SectionRef &Section,
162 const object::SectionRef &Section,
165 const object::SectionRef Section, uint64_t Offset,
168 const object::SectionRef Section, uint64_t Offset,
171 const object::SectionRef Section, uint64_t Offset,
174 const object::SectionRef Section, unsigned Entry,
177 const object::SectionRef Section);
H A DObjDumper.cpp101 static std::vector<object::SectionRef>
104 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex()
116 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
147 for (object::SectionRef Section : in printSectionsAsString()
165 for (object::SectionRef Section : in printSectionsAsHex()
H A DCOFFDumper.cpp240 const SectionRef &SR;
596 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
938 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
945 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
1917 SectionRef StackMapSection; in printStackMap()
1931 if (StackMapSection == SectionRef()) in printStackMap()
1948 SectionRef AddrsigSection; in printAddrsig()
1962 if (AddrsigSection == SectionRef()) in printAddrsig()
1986 SectionRef CGProfileSection; in printCGProfile()
1987 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.cpp221 ErrorOr<object::SectionRef>
252 const SectionRef &Section, in getRelocatedSymbol()
290 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation()
933 const SectionRef &Section, in dumpXDataRecord()
1044 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
1103 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry()
1112 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
1210 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry()
1338 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
1356 const SectionRef Section) { in dumpProcedureData()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A DMachODump.cpp2581 SectionRef S;
4005 SectionRef S; in get_objc2_64bit_class_name()
4055 SectionRef S; in get_objc2_64bit_cfstring_name()
4088 SectionRef S; in get_objc2_64bit_selref()
4227 SectionRef S; in print_layout_map64()
4238 SectionRef S; in print_layout_map32()
4403 SectionRef S; in print_method_list()
4694 SectionRef S; in print_method_description_list()
4764 SectionRef S; in print_protocol()
4824 SectionRef S; in print_protocol_list()
[all …]
H A Dllvm-objdump.cpp277 [Idx](object::SectionRef S) { in ToolSectionFilter()
887 Optional<SectionRef> Plt = None; in addPltEntries()
888 for (const SectionRef &Section : Obj.sections()) { in addPltEntries()
946 for (SectionRef Sec : Obj.sections()) { in getRelocsMap()
1332 for (SectionRef Sec : Obj.sections()) in disassembleObject()
1925 MapVector<SectionRef, std::vector<SectionRef>> SecToRelSec; in printRelocations()
1941 for (std::pair<SectionRef, std::vector<SectionRef>> &P : SecToRelSec) { in printRelocations()
1950 for (SectionRef Section : P.second) { in printRelocations()
1993 for (const SectionRef &Section : DynRelSec) in printDynamicRelocations()
2376 Optional<object::SectionRef> ClangASTSection; in printRawClangAST()
[all …]
H A Dllvm-objdump.h60 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
72 const llvm::object::SectionRef &operator*() const { return *Iterator; }
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinarySection.h48 const SectionRef Section; // SectionRef (may be null)
105 static StringRef getName(SectionRef Section) { in getName()
108 static StringRef getContents(SectionRef Section) { in getContents()
152 BinarySection(BinaryContext &BC, SectionRef Section) in BinarySection()
273 bool hasSectionRef() const { return Section != SectionRef(); } in hasSectionRef()
274 SectionRef getSectionRef() const { return Section; } in getSectionRef()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h128 const SectionRef &Section) { in finalizeSection()
171 SectionRef SectionA = *SAI; in processSECTDIFFRelocation()
185 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
212 const SectionRef &JTSection, in populateJumpTable()
H A DRuntimeDyldMachOX86_64.h123 const SectionRef &Section) { in finalizeSection()
188 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
214 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h90 Error forEachRelocation(const object::SectionRef &RelSec,
98 Error forEachRelocation(const object::SectionRef &RelSec, ClassT *Instance,
170 Error COFFLinkGraphBuilder::forEachRelocation(const object::SectionRef &RelSec, in forEachRelocation()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.h153 bool findValidRelocs(const object::SectionRef &Section,
158 void findValidRelocsMachO(const object::SectionRef &Section,
206 const object::SectionRef &Section, StringRef &Contents,
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp339 const SectionRef &Section = *SI; in checkPseudoProbe()
364 const SectionRef &Section = *SI; in decodePseudoProbe()
422 const SectionRef &Section) { in dissassembleSymbol()
571 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassemble()
582 for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols) in disassemble()
597 const SectionRef &Section = *SI; in disassemble()
642 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in checkUseFSDiscriminator() argument
646 const SectionRef &Section = *SI; in checkUseFSDiscriminator()
/llvm-project-15.0.7/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.cpp46 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
101 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp172 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
470 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
493 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
511 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
525 static bool isTLS(const SectionRef Section) { in isTLS()
550 const SectionRef &Section = *SI; in computeTotalAllocSize()
667 const SectionRef &Section) { in computeSectionStubBufSize()
801 const SectionRef &Section, in emitSection()
932 const SectionRef &Section, in findOrEmitSection()
1278 const object::SectionRef &Sec) const { in getSectionLoadAddress()
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 DRuntimeDyldMachO.cpp77 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA()
126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
182 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>;
82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/
H A DWasmReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DInputFile.cpp92 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection()
119 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection()
129 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection()
535 SectionRef SR = *Iter; in scanToNextDebugS()

1234