| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 42 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; 165 friend class SectionRef; variable 257 friend class SectionRef; variable [all …]
|
| H A D | ELFObjectFile.h | 101 class ELFSectionRef : public SectionRef { 103 ELFSectionRef(const SectionRef &B) : SectionRef(B) { in ELFSectionRef() 104 assert(isa<ELFObjectFileBase>(SectionRef::getObject())); in ELFSectionRef() 108 return cast<ELFObjectFileBase>(SectionRef::getObject()); in getObject() 236 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in LLVM_ELF_IMPORT_TYPES_ELFT() 237 return SectionRef(toDRI(Sec), this); in LLVM_ELF_IMPORT_TYPES_ELFT() 295 std::vector<SectionRef> dynamic_relocation_sections() const override; 790 return section_iterator(SectionRef(Sec, this)); in getSymbolSection() 883 std::vector<SectionRef> 885 std::vector<SectionRef> Res; in dynamic_relocation_sections() [all …]
|
| H A D | MachO.h | 284 unsigned getSectionType(SectionRef Sec) const; 293 unsigned getSectionID(SectionRef Sec) const; 304 Expected<SectionRef> getSection(unsigned SectionIndex) const; 305 Expected<SectionRef> getSection(StringRef SectionName) const; 485 SectionRef getAnyRelocationSection(const MachO::any_relocation_info &RE) const;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | ARMWinEHPrinter.h | 138 ErrorOr<object::SectionRef> 147 const object::SectionRef &Section, uint64_t Offset); 151 const object::SectionRef &Section, 160 const object::SectionRef &Section, 163 const object::SectionRef Section, uint64_t Offset, 166 const object::SectionRef Section, uint64_t Offset, 169 const object::SectionRef Section, uint64_t Offset, 172 const object::SectionRef Section, unsigned Entry, 175 const object::SectionRef Section);
|
| H A D | ObjDumper.cpp | 55 static std::vector<object::SectionRef> 58 std::vector<object::SectionRef> Ret; in getSectionRefsByNameOrIndex() 70 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex() 101 for (object::SectionRef Section : in printSectionsAsString() 135 for (object::SectionRef Section : in printSectionsAsHex()
|
| H A D | COFFDumper.cpp | 115 void printRelocation(const SectionRef &Section, const RelocationRef &Reloc, 131 void printCodeViewSymbolSection(StringRef SectionName, const SectionRef &Section); 132 void printCodeViewTypeSection(StringRef SectionName, const SectionRef &Section); 141 const SectionRef &Section, 160 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() 595 for (const SectionRef &S : Obj->sections()) { in cacheRelocations() 934 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 | 200 ErrorOr<object::SectionRef> 231 const SectionRef &Section, in getRelocatedSymbol() 264 const COFFObjectFile &COFF, const SectionRef &Section, in getSymbolForLocation() 905 const SectionRef &Section, in dumpXDataRecord() 1016 const SectionRef Section, uint64_t Offset, in dumpUnpackedEntry() 1077 ErrorOr<SectionRef> Section = getSectionContaining(COFF, XDataAddress); in dumpUnpackedEntry() 1086 const SectionRef Section, uint64_t Offset, in dumpPackedEntry() 1127 const SectionRef Section, uint64_t Offset, in dumpPackedARM64Entry() 1256 const SectionRef Section, unsigned Index, in dumpProcedureDataEntry() 1274 const SectionRef Section) { in dumpProcedureData()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 243 static FilterResult checkSectionFilter(object::SectionRef S) { in checkSectionFilter() 272 [Idx](object::SectionRef S) { in ToolSectionFilter() 696 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 725 std::map<SectionRef, SectionSymbolsTy> &AllSymbols) { in addDynamicElfSymbols() argument 740 std::map<SectionRef, SectionSymbolsTy> &AllSymbols, in addPltEntries() argument 742 Optional<SectionRef> Plt = None; in addPltEntries() 743 for (const SectionRef &Section : Obj->sections()) { in addPltEntries() 797 static std::map<SectionRef, std::vector<RelocationRef>> 799 std::map<SectionRef, std::vector<RelocationRef>> Ret; in getRelocsMap() 801 for (SectionRef Sec : Obj.sections()) { in getRelocsMap() [all …]
|
| H A D | MachODump.cpp | 293 std::vector<SectionRef> &Sections, in getSectionsAndSymbols() 377 for (const SectionRef &Section : ToolSectionFilter(*O)) { in printRelocationTargetName() 1422 const SectionRef &Section, in DumpLiteralPointerSection() 1427 std::vector<SectionRef> LiteralSections; in DumpLiteralPointerSection() 1428 for (const SectionRef &Section : O->sections()) { in DumpLiteralPointerSection() 1498 auto Sect = find_if(LiteralSections, [&](const SectionRef &R) { in DumpLiteralPointerSection() 1590 const SectionRef &Section, in DumpInitTermPointerSection() 1725 for (const SectionRef &Section : O->sections()) { in DumpSectionContents() 1830 for (const SectionRef &Section : O->sections()) { in DumpInfoPlistSectionContents() 1930 for (const SectionRef &Section : MachOOF->sections()) { in ProcessMachO() [all …]
|
| H A D | llvm-objdump.h | 67 typedef std::function<bool(llvm::object::SectionRef const &)> FilterPredicate; 79 const llvm::object::SectionRef &operator*() const { return *Iterator; }
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxdump/ |
| H A D | llvm-cxxdump.cpp | 79 static std::map<SectionRef, SmallVector<SectionRef, 1>> SectionRelocMap; 82 const SectionRef &Sec, uint64_t SecAddress, in collectRelocatedSymbols() 87 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocatedSymbols() 106 const ObjectFile *Obj, const SectionRef &Sec, uint64_t SecAddress, in collectRelocationOffsets() 111 for (const SectionRef &SR : SectionRelocMap[Sec]) { in collectRelocationOffsets() 176 for (const SectionRef &Section : Obj->sections()) { in dumpCXXData() 203 const SectionRef &Sec = *SecI; in dumpCXXData()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOI386.h | 129 const SectionRef &Section) { in finalizeSection() 172 SectionRef SectionA = *SAI; in processSECTDIFFRelocation() 186 SectionRef SectionB = *SBI; in processSECTDIFFRelocation() 213 const SectionRef &JTSection, in populateJumpTable()
|
| H A D | RuntimeDyldMachOX86_64.h | 124 const SectionRef &Section) { in finalizeSection() 189 SectionRef SecB = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation() 215 SectionRef SecA = Obj.getAnyRelocationSection(RelInfo); in processSubtractRelocation()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 178 const SectionRef &Section = *SI; in setPreferredBaseAddress() 191 const SectionRef &Section = *SI; in decodePseudoProbe() 213 const SectionRef &Section) { in dissassembleSymbol() 357 std::map<SectionRef, SectionSymbolsTy> AllSymbols; in disassemble() 368 for (std::pair<const SectionRef, SectionSymbolsTy> &SecSyms : AllSymbols) in disassemble() 377 const SectionRef &Section = *SI; in disassemble()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 28 static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { in getSectionID() 71 for (SectionRef Sec : O.sections()) { in computeSymbolSizes()
|
| H A D | ObjectFile.cpp | 47 bool SectionRef::containsSymbol(SymbolRef S) const { in containsSymbol() 103 return section_iterator(SectionRef(Sec, this)); in getRelocatedSection()
|
| H A D | COFFObjectFile.cpp | 256 return section_iterator(SectionRef(Ret, this)); in getSymbolSection() 335 unsigned COFFObjectFile::getSectionID(SectionRef Sec) const { in getSectionID() 466 for (const SectionRef &S : sections()) { in getRvaPtr() 482 for (const SectionRef &S : sections()) { in getRvaAndSizeAsBytes() 918 return section_iterator(SectionRef(Ret, this)); in section_begin() 926 return section_iterator(SectionRef(Ret, this)); in section_end() 1176 COFFObjectFile::getCOFFSection(const SectionRef &Section) const { in getCOFFSection() 1770 for (const SectionRef &S : O->sections()) { in load() 1782 Error ResourceSectionRef::load(const COFFObjectFile *O, const SectionRef &S) { in load() 1871 for (const SectionRef &S : Obj->sections()) { in getContents()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| H A D | InputFile.cpp | 66 static inline bool isCodeViewDebugSubsection(object::SectionRef Section, in isCodeViewDebugSubsection() 93 static inline bool isDebugSSection(object::SectionRef Section, in isDebugSSection() 103 static bool isDebugTSection(SectionRef Section, CVTypeArray &Types) { in isDebugTSection() 489 SectionRef SR = *Iter; in scanToNextDebugS()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| 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);
|
| H A D | RuntimeDyld.cpp | 170 static Error getOffset(const SymbolRef &Sym, SectionRef Sec, in getOffset() 468 static bool isRequiredForExecution(const SectionRef Section) { in isRequiredForExecution() 491 static bool isReadOnlyData(const SectionRef Section) { in isReadOnlyData() 509 static bool isZeroInit(const SectionRef Section) { in isZeroInit() 541 const SectionRef &Section = *SI; in computeTotalAllocSize() 657 const SectionRef &Section) { in computeSectionStubBufSize() 791 const SectionRef &Section, in emitSection() 909 const SectionRef &Section, in findOrEmitSection() 1255 const object::SectionRef &Sec) const { in getSectionLoadAddress()
|
| H A D | RuntimeDyldMachO.cpp | 77 SectionRef TargetSection = *TargetSI; in processScatteredVANILLA() 126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef() 182 const SectionRef &PTSection, in populateIndirectSymbolPointersSection()
|
| /netbsd-src/external/apache2/llvm/dist/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;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| H A D | DwarfLinkerForBinary.h | 154 bool findValidRelocs(const object::SectionRef &Section, 159 void findValidRelocsMachO(const object::SectionRef &Section,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| H A D | Reader.cpp | 23 for (const SectionRef &Sec : WasmObj.sections()) { in create()
|