/openbsd/gnu/llvm/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 42 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() 437 inline SectionRef::SectionRef(DataRefImpl SectionP, in SectionRef() function 442 inline bool SectionRef::operator==(const SectionRef &Other) const { 447 inline bool SectionRef::operator!=(const SectionRef &Other) const { 451 inline bool SectionRef::operator<(const SectionRef &Other) const { [all …]
|
H A D | ELFObjectFile.h | 114 class ELFSectionRef : public SectionRef { 116 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef() 117 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef() 121 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject() 249 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT() 250 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT() 810 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 902 std::vector<SectionRef> 904 std::vector<SectionRef> Res; in dynamic_relocation_sections() 1163 return section_iterator(SectionRef()); in section_begin() [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-readobj/ |
H A D | ARMWinEHPrinter.h | 143 ErrorOr<object::SectionRef> 152 const object::SectionRef &Section, uint64_t Offset); 156 const object::SectionRef &Section, 166 const object::SectionRef &Section, 169 const object::SectionRef Section, uint64_t Offset, 172 const object::SectionRef Section, uint64_t Offset, 175 const object::SectionRef Section, uint64_t Offset, 178 const object::SectionRef Section, unsigned Entry, 181 const object::SectionRef Section);
|
H A D | ObjDumper.cpp | 101 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 D | COFFDumper.cpp | 239 const SectionRef &SR; 642 for (const SectionRef &S : Obj->sections()) { in cacheRelocations() 992 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo() 999 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo() 1982 SectionRef StackMapSection; in printStackMap() 1996 if (StackMapSection == SectionRef()) in printStackMap() 2013 SectionRef AddrsigSection; in printAddrsig() 2027 if (AddrsigSection == SectionRef()) in printAddrsig() 2051 SectionRef CGProfileSection; in printCGProfile() 2052 for (SectionRef Sec : Obj->sections()) { in printCGProfile() [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 | 222 ErrorOr<object::SectionRef> 253 const SectionRef &Section, in getRelocatedSymbol() 291 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation() 1021 const SectionRef &Section, in dumpXDataRecord() 1132 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry() 1191 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry() 1200 const SectionRef Section, uint64_t Offset, in dumpPackedEntry() 1298 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry() 1431 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry() 1449 const SectionRef Section) { in dumpProcedureData()
|
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.h | 81 using LVSectionAddresses = std::map<LVSectionIndex, object::SectionRef>; 84 void addSectionAddress(const object::SectionRef &Section) { in addSectionAddress() 100 using LVSections = std::map<LVSectionIndex, object::SectionRef>; 121 const object::SectionRef &Section, in mapRangeAddress() 128 Expected<std::pair<LVSectionIndex, object::SectionRef>>
|
/openbsd/gnu/llvm/llvm/tools/llvm-objdump/ |
H A D | llvm-objdump.cpp | 292 [Idx](object::SectionRef S) { in ToolSectionFilter() 917 std::optional<SectionRef> Plt; in addPltEntries() 918 for (const SectionRef &Section : Obj.sections()) { in addPltEntries() 976 for (SectionRef Sec : Obj.sections()) { in getRelocsMap() 1324 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassembleObject() 1382 for (SectionRef Sec : Obj.sections()) in disassembleObject() 2159 MapVector<SectionRef, std::vector<SectionRef>> SecToRelSec; in printRelocations() 2175 for (std::pair<SectionRef, std::vector<SectionRef>> &P : SecToRelSec) { in printRelocations() 2184 for (SectionRef Section : P.second) { in printRelocations() 2227 for (const SectionRef &Section : DynRelSec) in printDynamicRelocations() [all …]
|
H A D | MachODump.cpp | 2815 SectionRef S; 4239 SectionRef S; in get_objc2_64bit_class_name() 4289 SectionRef S; in get_objc2_64bit_cfstring_name() 4322 SectionRef S; in get_objc2_64bit_selref() 4461 SectionRef S; in print_layout_map64() 4472 SectionRef S; in print_layout_map32() 4637 SectionRef S; in print_method_list() 4928 SectionRef S; in print_method_description_list() 4998 SectionRef S; in print_protocol() 5058 SectionRef S; in print_protocol_list() [all …]
|
H A D | llvm-objdump.h | 64 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate; 76 const llvm::object::SectionRef &operator*() const { return *Iterator; }
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/tools/dsymutil/ |
H A D | DwarfLinkerForBinary.h | 153 bool findValidRelocs(const object::SectionRef &Section, 158 void findValidRelocsMachO(const object::SectionRef &Section, 206 const object::SectionRef &Section, StringRef &Contents,
|
/openbsd/gnu/llvm/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() 75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
H A D | COFFLinkGraphBuilder.h | 91 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()
|
/openbsd/gnu/llvm/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() 1274 const object::SectionRef &Sec) const { in getSectionLoadAddress()
|
H A D | RuntimeDyldImpl.h | 261 typedef std::map<SectionRef, unsigned> ObjSectionToIDMap; 372 const SectionRef &Section, 381 const SectionRef &Section, bool IsCode, 430 const SectionRef &Section);
|
/openbsd/gnu/llvm/llvm/tools/llvm-profgen/ |
H A D | ProfiledBinary.cpp | 362 const SectionRef &Section = *SI; in checkPseudoProbe() 408 const SectionRef &Section = *SI; in decodePseudoProbe() 464 const SectionRef &Section) { in dissassembleSymbol() 648 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassemble() 659 for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols) in disassemble() 672 const SectionRef &Section = *SI; in disassemble() 717 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in checkUseFSDiscriminator() argument 721 const SectionRef &Section = *SI; in checkUseFSDiscriminator()
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.cpp | 148 for (const object::SectionRef &Section : Obj.sections()) { in mapVirtualAddress() 175 const object::SectionRef Section = Entry.second; in mapVirtualAddress() 254 Expected<std::pair<uint64_t, object::SectionRef>> 267 const object::SectionRef Section = Iter->second; in getSection() 343 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions() 347 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions() 789 const object::SectionRef Section = Entry.second; in processLines()
|
/openbsd/gnu/llvm/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;
|
/openbsd/gnu/llvm/llvm/lib/ObjCopy/wasm/ |
H A D | WasmReader.cpp | 23 for (const SectionRef &Sec : WasmObj.sections()) { in create()
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
H A D | InputFile.cpp | 92 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()
|