| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 43 class SectionRef; variable 48 using section_iterator = content_iterator<SectionRef>; 50 typedef std::function<bool(const SectionRef &)> SectionFilterPredicate; 82 class SectionRef { 89 SectionRef() = default; 90 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 92 bool operator==(const SectionRef &Other) const; 93 bool operator!=(const SectionRef &Other) const; 94 bool operator<(const SectionRef &Other) const; 170 friend class SectionRef; variable [all …]
|
| H A D | ELFObjectFile.h | 130 StringRef getCrelDecodeProblem(SectionRef Sec) const; 133 class ELFSectionRef : public SectionRef { 135 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef() 136 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef() 140 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject() 277 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT() 278 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT() 340 std::vector<SectionRef> dynamic_relocation_sections() const override; 879 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 970 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 | 153 ErrorOr<object::SectionRef> 162 const object::SectionRef &Section, uint64_t Offset); 166 const object::SectionRef &Section, 176 const object::SectionRef &Section, 179 const object::SectionRef Section, uint64_t Offset, 182 const object::SectionRef Section, uint64_t Offset, 185 const object::SectionRef Section, uint64_t Offset, 188 const object::SectionRef Section, unsigned Entry, 191 const object::SectionRef Section);
|
| H A D | ObjDumper.cpp | 105 static std::vector<object::SectionRef> 108 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex() 120 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() 165 for (object::SectionRef Section : in printSectionsAsString() 183 for (object::SectionRef Section : in printSectionsAsHex()
|
| 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 | COFFDumper.cpp | 118 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc, 134 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section); 135 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section); 144 const SectionRef &Section, 163 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec, 203 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate() 241 const SectionRef &SR; 319 const SectionRef &Sec, in printBinaryBlockWithRelocs() 646 for (const SectionRef &S : Obj->sections()) { in cacheRelocations() 1127 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo() [all …]
|
| /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() 101 using LVSections = std::map<LVSectionIndex, object::SectionRef>; 166 const object::SectionRef &Section, in mapRangeAddress() 173 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/include/llvm/DebugInfo/BTF/ |
| H A D | BTFParser.h | 34 using object::SectionRef; 66 Error parseBTF(ParseContext &Ctx, SectionRef BTF); 67 Error parseBTFExt(ParseContext &Ctx, SectionRef BTFExt);
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | XCOFFLinkGraphBuilder.cpp | 156 for (object::SectionRef Section : Obj.sections()) { in processSections() 290 object::SectionRef &SectionRef = in processCsectsAndSymbols() local 292 auto Data = SectionRef.getContents(); in processCsectsAndSymbols() 300 auto Offset = *CsectSymbolAddr - SectionRef.getAddress(); in processCsectsAndSymbols() 350 for (object::SectionRef Section : Obj.sections()) { in processRelocations()
|
| H A D | COFFLinkGraphBuilder.h | 98 Error forEachRelocation(const object::SectionRef &RelSec, 106 Error forEachRelocation(const object::SectionRef &RelSec, ClassT *Instance, 193 Error COFFLinkGraphBuilder::forEachRelocation(const object::SectionRef &RelSec, in forEachRelocation()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 282 std::vector<SectionRef> &Sections, in getSectionsAndSymbols() 366 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName() 1643 const SectionRef &Section, in DumpLiteralPointerSection() 1648 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection() 1649 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection() 1719 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection() 1811 const SectionRef &Section, in DumpInitTermPointerSection() 1939 for (const SectionRef &Section : O->sections()) { in DumpSectionContents() 2037 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents() 2140 for (const SectionRef &Section : MachOOF->sections()) { in ProcessMachO() [all …]
|
| H A D | llvm-objdump.cpp | 406 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter() 435 [Idx](object::SectionRef S) { in ToolSectionFilter() 1218 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 1247 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 1260 static std::optional<SectionRef> getWasmCodeSection(const WasmObjectFile &Obj) { in getWasmCodeSection() 1271 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addMissingWasmCodeSymbols() argument 1272 std::optional<SectionRef> Section = getWasmCodeSection(Obj); in addMissingWasmCodeSymbols() 1301 static DenseMap<StringRef, SectionRef> getSectionNames(const ObjectFile &Obj) { in getSectionNames() 1302 DenseMap<StringRef, SectionRef> Sections; in getSectionNames() 1303 for (SectionRef Section : Obj.sections()) { in getSectionNames() [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/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() 390 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions() 394 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions() 846 const object::SectionRef Section = Entry.second; in processLines()
|
| H A D | LVCodeViewReader.cpp | 162 for (const SectionRef &Section : getObj().sections()) { in cacheRelocations() 460 for (const SectionRef &Section : Obj.sections()) { in loadPrecompiledObject() 528 const SectionRef &Section) { in traverseTypeSection() 610 const SectionRef &Section, in traverseSymbolsSubsection() 638 const SectionRef &Section) { in traverseSymbolSection() 800 const SectionRef &Section, in mapRangeAddress() 856 for (const SectionRef &Section : Obj.sections()) { in createScopes() 870 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() 805 const SectionRef &Section, in emitSection() 931 const SectionRef &Section, in findOrEmitSection() 1288 const object::SectionRef &Sec) const { in getSectionLoadAddress()
|
| H A D | RuntimeDyldImpl.h | 256 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap; 373 const SectionRef &Section, 382 const SectionRef &Section, bool IsCode, 431 const SectionRef &Section);
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | RuntimeDyld.h | 74 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>; 83 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()
|