Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DObjectFile.h42 class SectionRef; variable
47 using section_iterator = content_iterator<SectionRef>;
80 class SectionRef {
87 SectionRef() = default;
88 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
90 bool operator==(const SectionRef &Other) const;
91 bool operator!=(const SectionRef &Other) const;
92 bool operator<(const SectionRef &Other) const;
168 friend class SectionRef; variable
260 friend class SectionRef; variable
[all …]
H A DELFObjectFile.h114 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()
308 std::vector<SectionRef> dynamic_relocation_sections() const override;
810 return section_iterator(SectionRef(Sec, this)); in getSymbolSection()
902 std::vector<SectionRef>
904 std::vector<SectionRef> Res; in dynamic_relocation_sections()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.h143 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 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.cpp116 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc,
132 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section);
133 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section);
142 const SectionRef &Section,
161 void printBinaryBlockWithRelocs(StringRef Label, const SectionRef &Sec,
201 COFFObjectDumpDelegate(COFFDumper &CD, const SectionRef &SR, in COFFObjectDumpDelegate()
239 const SectionRef &SR;
317 const SectionRef &Sec, in printBinaryBlockWithRelocs()
642 for (const SectionRef &S : Obj->sections()) { in cacheRelocations()
992 for (const SectionRef &S : Obj->sections()) { in printCodeViewDebugInfo()
[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.cpp222 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-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.h81 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-src/gnu/llvm/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp263 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter()
292 [Idx](object::SectionRef S) { in ToolSectionFilter()
835 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
864 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument
877 static std::optional<SectionRef> getWasmCodeSection(const WasmObjectFile &Obj) { in getWasmCodeSection()
888 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addMissingWasmCodeSymbols() argument
889 std::optional<SectionRef> Section = getWasmCodeSection(Obj); in addMissingWasmCodeSymbols()
915 std::map<SectionRef, SectionSymbolsTy> &AllSymbols, in addPltEntries() argument
917 std::optional<SectionRef> Plt; in addPltEntries()
918 for (const SectionRef &Section : Obj.sections()) { in addPltEntries()
[all …]
H A DMachODump.cpp312 std::vector<SectionRef> &Sections, in getSectionsAndSymbols()
396 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName()
1673 const SectionRef &Section, in DumpLiteralPointerSection()
1678 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection()
1679 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection()
1749 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection()
1841 const SectionRef &Section, in DumpInitTermPointerSection()
1976 for (const SectionRef &Section : O->sections()) { in DumpSectionContents()
2081 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents()
2182 for (const SectionRef &Section : MachOOF->sections()) { in ProcessMachO()
[all …]
H A Dllvm-objdump.h64 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate;
76 const llvm::object::SectionRef &operator*() const { return *Iterator; }
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
75 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
/openbsd-src/gnu/llvm/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;
372 const SectionRef &Section,
381 const SectionRef &Section, bool IsCode,
430 const SectionRef &Section);
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp362 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-src/gnu/llvm/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()
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-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h73 using ObjSectionToIDMap = std::map<object::SectionRef, unsigned>;
82 getSectionLoadAddress(const object::SectionRef &Sec) const override;
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/wasm/
H A DWasmReader.cpp23 for (const SectionRef &Sec : WasmObj.sections()) { in create()
/openbsd-src/gnu/llvm/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()

123