/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 42 class SectionRef; variable 47 using section_iterator = content_iterator<SectionRef>; 49 typedef std::function<bool(const SectionRef &)> SectionFilterPredicate; 81 class SectionRef { 88 SectionRef() = default; 89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 91 bool operator==(const SectionRef &Other) const; 92 bool operator!=(const SectionRef &Other) const; 93 bool operator<(const SectionRef &Other) const; 169 friend class SectionRef; variable [all …]
|
H A D | ELFObjectFile.h | 127 StringRef getCrelDecodeProblem(SectionRef Sec) const; 130 class ELFSectionRef : public SectionRef { 132 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef() 133 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef() 137 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject() 274 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT() 275 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT() 337 std::vector<SectionRef> dynamic_relocation_sections() const override; 873 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 965 std::vector<SectionRef> [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
H A D | BTFParser.cpp | 24 using object::SectionRef; 80 // Map from ELF section name to SectionRef 81 DenseMap<StringRef, SectionRef> Sections; in ParseContext() 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() 249 Error BTFParser::parseBTFExt(ParseContext &Ctx, SectionRef BTFExt) { in hasBTFSections() 311 std::optional<SectionRef> Sec = Ctx.findSection(SecName); 354 std::optional<SectionRef> Sec = Ctx.findSection(SecName); 386 std::optional<SectionRef> BT [all...] |
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMWinEHPrinter.h | 145 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 D | ObjDumper.cpp | 103 static std::vector<object::SectionRef> 106 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex() 118 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() 163 for (object::SectionRef Section : in printSectionsAsString() 180 for (object::SectionRef Section : in printSectionsAsHex()
|
H A D | COFFDumper.cpp | 117 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc, 133 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section); 134 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section); 143 const SectionRef &Section, 162 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec, 202 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate() 240 const SectionRef &SR; 318 const SectionRef &Sec, in printBinaryBlockWithRelocs() 645 for (const SectionRef &S : Obj->sections()) { in cacheRelocations() 1082 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo() [all …]
|
H A D | WasmDumper.cpp | 70 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 D | ARMWinEHPrinter.cpp | 223 ErrorOr<object::SectionRef> in getSectionContaining() 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 dumpPackedEntry() 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 Sectio in dumpProcedureData() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/BTF/ |
H A D | BTFParser.h | 33 using object::SectionRef; 65 Error parseBTF(ParseContext &Ctx, SectionRef BTF); 66 Error parseBTFExt(ParseContext &Ctx, SectionRef BTFExt);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.h | 88 using LVSectionAddresses = std::map<LVSectionIndex, object::SectionRef>; 91 void addSectionAddress(const object::SectionRef &Section) { in addSectionAddress() 107 using LVSections = std::map<LVSectionIndex, object::SectionRef>; 172 const object::SectionRef &Section, in mapRangeAddress() 179 Expected<std::pair<LVSectionIndex, object::SectionRef>>
|
H A D | LVCodeViewReader.h | 104 const object::SectionRef &Section, 161 const llvm::object::SectionRef &Section); 163 const llvm::object::SectionRef &Section); 170 const llvm::object::SectionRef &Section,
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 286 std::vector<SectionRef> &Sections, in getSectionsAndSymbols() 370 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName() 1647 const SectionRef &Section, in DumpLiteralPointerSection() 1652 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection() 1653 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection() 1723 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection() 1815 const SectionRef &Section, in DumpInitTermPointerSection() 1943 for (const SectionRef &Section : O->sections()) { in DumpSectionContents() 2041 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents() 2144 for (const SectionRef &Section : MachOOF->sections()) { in ProcessMachO() [all …]
|
H A D | llvm-objdump.cpp | 407 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter() 436 [Idx](object::SectionRef S) { in ToolSectionFilter() 1152 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 1181 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 1194 static std::optional<SectionRef> getWasmCodeSection(const WasmObjectFile &Obj) { in getWasmCodeSection() 1205 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addMissingWasmCodeSymbols() argument 1206 std::optional<SectionRef> Section = getWasmCodeSection(Obj); in addMissingWasmCodeSymbols() 1236 std::map<SectionRef, SectionSymbolsTy> &AllSymbols, in addPltEntries() argument 1241 DenseMap<StringRef, SectionRef> Sections; in addPltEntries() 1242 for (SectionRef Section : Obj.sections()) { in addPltEntries() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldMachOI386.h | 128 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 D | RuntimeDyldMachOX86_64.h | 123 const SectionRef &Section) { in finalizeSection() 188 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation() 214 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxdump/ |
H A D | llvm-cxxdump.cpp | 80 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/contrib/llvm-project/llvm/lib/Object/ |
H A D | ObjectFile.cpp | 46 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 D | SymbolSize.cpp | 29 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 88 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | COFFLinkGraphBuilder.h | 88 /// const object::SectionRef&, Section &) 91 Error forEachRelocation(const object::SectionRef &RelSec, 99 Error forEachRelocation(const object::SectionRef &RelSec, ClassT *Instance, 185 Error COFFLinkGraphBuilder::forEachRelocation(const object::SectionRef &RelSec,
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.cpp | 148 for (const object::SectionRef &Section : Obj.sections()) { in mapVirtualAddress() 204 const object::SectionRef Section = Entry.second; in mapVirtualAddress() 233 for (const object::SectionRef &Section : COFFObj.sections()) { in mapVirtualAddress() 254 const object::SectionRef Section = Entry.second; in mapVirtualAddress() 338 Expected<std::pair<uint64_t, object::SectionRef>> 351 const object::SectionRef Section = Iter->second; in getSection() 414 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions() 418 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions() 862 const object::SectionRef Section = Entry.second; in processLines()
|
H A D | LVCodeViewReader.cpp | 167 for (const SectionRef &Section : getObj().sections()) { in cacheRelocations() 465 for (const SectionRef &Section : Obj.sections()) { in loadPrecompiledObject() 533 const SectionRef &Section) { 615 const SectionRef &Section, 643 const SectionRef &Section) { 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/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyld.cpp | 172 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() 1273 const object::SectionRef &Sec) const { in getSectionLoadAddress()
|
H A D | RuntimeDyldImpl.h | 261 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap; 378 const SectionRef &Section, 387 const SectionRef &Section, bool IsCode, 436 const SectionRef &Section);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
H A D | RuntimeDyld.h | 73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>; 82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | InputFile.cpp | 93 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection() 120 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection() 130 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() 536 SectionRef SR = *Iter; in scanToNextDebugS()
|