Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h42 class SectionRef; variable
81 class SectionRef {
88 SectionRef() = default;
169 friend class SectionRef; variable
261 friend class SectionRef; variable
316 return std::vector<SectionRef>(); in dynamic_relocation_sections()
493 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function
498 inline bool SectionRef::operator==(const SectionRef &Other) const {
503 inline bool SectionRef::operator!=(const SectionRef &Other) const {
507 inline bool SectionRef::operator<(const SectionRef &Other) const {
[all …]
H A DELFObjectFile.h124 class ELFSectionRef : public SectionRef {
126 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef()
127 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef()
131 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject()
259 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT()
260 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT()
835 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
927 std::vector<SectionRef>
929 std::vector<SectionRef> Res; in dynamic_relocation_sections()
1189 return section_iterator(SectionRef()); in section_begin()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h145 ErrorOr<object::SectionRef>
154 const object::SectionRef &Section, uint64_t Offset);
158 const object::SectionRef &Section,
168 const object::SectionRef &Section,
171 const object::SectionRef Section, uint64_t Offset,
174 const object::SectionRef Section, uint64_t Offset,
177 const object::SectionRef Section, uint64_t Offset,
180 const object::SectionRef Section, unsigned Entry,
183 const object::SectionRef Section);
H A DObjDumper.cpp103 static std::vector<object::SectionRef>
106 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex()
118 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
164 for (object::SectionRef Section : in printSectionsAsString()
186 for (object::SectionRef Section : in printSectionsAsHex()
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 DCOFFDumper.cpp239 const SectionRef &SR;
644 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
1079 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
1086 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
2071 SectionRef StackMapSection; in printStackMap()
2085 if (StackMapSection == SectionRef()) in printStackMap()
2102 SectionRef AddrsigSection; in printAddrsig()
2116 if (AddrsigSection == SectionRef()) in printAddrsig()
2140 SectionRef CGProfileSection; in printCGProfile()
2141 for (SectionRef Sec : Obj->sections()) { in printCGProfile()
[all …]
H A DARMWinEHPrinter.cpp223 ErrorOr<object::SectionRef>
254 const SectionRef &Section, in getRelocatedSymbol()
292 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation()
1029 const SectionRef &Section, in dumpXDataRecord()
1140 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry()
1199 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry()
1208 const SectionRef Section, uint64_t Offset, in dumpPackedEntry()
1306 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry()
1439 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry()
1457 const SectionRef Section) { in dumpProcedureData()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTFParser.h33 using object::SectionRef;
65 Error parseBTF(ParseContext &Ctx, SectionRef BTF);
66 Error parseBTFExt(ParseContext &Ctx, SectionRef BTFExt);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h88 using LVSectionAddresses = std::map<LVSectionIndex, object::SectionRef>;
91 void addSectionAddress(const object::SectionRef &Section) { in addSectionAddress()
107 using LVSections = std::map<LVSectionIndex, object::SectionRef>;
130 const object::SectionRef &Section, in mapRangeAddress()
137 Expected<std::pair<LVSectionIndex, object::SectionRef>>
H A DLVCodeViewReader.h104 const object::SectionRef &Section,
161 const llvm::object::SectionRef &Section);
163 const llvm::object::SectionRef &Section);
170 const llvm::object::SectionRef &Section,
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp24 using object::SectionRef;
81 DenseMap<StringRef, SectionRef> Sections;
87 Expected<DataExtractor> makeExtractor(SectionRef Sec) { in makeExtractor()
95 std::optional<SectionRef> findSection(StringRef Name) const { in findSection()
103 Error BTFParser::parseBTF(ParseContext &Ctx, SectionRef BTF) { in parseBTF()
311 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseLineInfo()
354 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseRelocInfo()
386 std::optional<SectionRef> BTF; in parse()
387 std::optional<SectionRef> BTFExt; in parse()
388 for (SectionRef Sec : Obj.sections()) { in parse()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp2777 SectionRef S;
4201 SectionRef S; in get_objc2_64bit_class_name()
4251 SectionRef S; in get_objc2_64bit_cfstring_name()
4284 SectionRef S; in get_objc2_64bit_selref()
4423 SectionRef S; in print_layout_map64()
4434 SectionRef S; in print_layout_map32()
4599 SectionRef S; in print_method_list()
4890 SectionRef S; in print_method_description_list()
4960 SectionRef S; in print_protocol()
5020 SectionRef S; in print_protocol_list()
[all …]
H A Dllvm-objdump.cpp320 [Idx](object::SectionRef S) { in ToolSectionFilter()
1066 DenseMap<StringRef, SectionRef> Sections; in addPltEntries()
1067 for (SectionRef Section : Obj.sections()) { in addPltEntries()
1119 for (SectionRef Sec : Obj.sections()) { in getRelocsMap()
1558 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassembleObject()
1642 for (SectionRef Sec : Obj.sections()) in disassembleObject()
2526 MapVector<SectionRef, std::vector<SectionRef>> SecToRelSec; in printRelocations()
2542 for (std::pair<SectionRef, std::vector<SectionRef>> &P : SecToRelSec) { in printRelocations()
2551 for (SectionRef Section : P.second) { in printRelocations()
2577 for (const SectionRef &S : ToolSectionFilter(Obj)) in shouldDisplayLMA()
[all …]
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h91 Error forEachRelocation(const object::SectionRef &RelSec,
99 Error forEachRelocation(const object::SectionRef &RelSec, ClassT *Instance,
185 Error COFFLinkGraphBuilder::forEachRelocation(const object::SectionRef &RelSec, in forEachRelocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DObjectFile.cpp46 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol()
101 [](SectionRef Sec) { return Sec.isDebugSection(); }); in hasDebugInfo()
106 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
H A DSymbolSize.cpp29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID()
81 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
H A DGOFFObjectFile.cpp339 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
358 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
400 return section_iterator(SectionRef(Sec, this)); in section_begin()
405 return section_iterator(SectionRef(Sec, this)); in section_end()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp148 for (const object::SectionRef &Section : Obj.sections()) { in mapVirtualAddress()
175 const object::SectionRef Section = Entry.second; in mapVirtualAddress()
204 for (const object::SectionRef &Section : COFFObj.sections()) { in mapVirtualAddress()
225 const object::SectionRef Section = Entry.second; in mapVirtualAddress()
309 Expected<std::pair<uint64_t, object::SectionRef>>
322 const object::SectionRef Section = Iter->second; in getSection()
385 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions()
389 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions()
833 const object::SectionRef Section = Entry.second; in processLines()
H A DLVCodeViewReader.cpp167 for (const SectionRef &Section : getObj().sections()) { in cacheRelocations()
465 for (const SectionRef &Section : Obj.sections()) { in loadPrecompiledObject()
533 const SectionRef &Section) { in traverseTypeSection()
615 const SectionRef &Section, in traverseSymbolsSubsection()
643 const SectionRef &Section) { in traverseSymbolSection()
806 const SectionRef &Section, in mapRangeAddress()
862 for (const SectionRef &Section : Obj.sections()) { in createScopes()
876 for (const SectionRef &Section : Obj.sections()) { in createScopes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp172 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset()
471 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution()
494 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData()
512 static bool isZeroInit(const SectionRef Section) { in isZeroInit()
526 static bool isTLS(const SectionRef Section) { in isTLS()
548 const SectionRef &Section = *SI; in computeTotalAllocSize()
669 const SectionRef &Section) { in computeSectionStubBufSize()
802 const SectionRef &Section, in emitSection()
928 const SectionRef &Section, in findOrEmitSection()
1274 const object::SectionRef &Sec) const { in getSectionLoadAddress()
H A DRuntimeDyldImpl.h261 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap;
378 const SectionRef &Section,
387 const SectionRef &Section, bool IsCode,
436 const SectionRef &Section);
/freebsd-14.2/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;

123