| /freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | GOFFObjectFile.h | 41 typedef DataRefImpl SectionEntryImpl; 65 void moveSymbolNext(DataRefImpl &Symb) const override; 73 bool isSectionNoLoad(DataRefImpl Sec) const; 74 bool isSectionReadOnlyData(DataRefImpl Sec) const; 75 bool isSectionZeroInit(DataRefImpl Sec) const; 79 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 80 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 81 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 82 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 83 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
| H A D | ObjectFile.h | 54 DataRefImpl RelocationPimpl; 59 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner); 74 DataRefImpl getRawDataRefImpl() const; 85 DataRefImpl SectionPimpl; 90 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 142 DataRefImpl getRawDataRefImpl() const; 183 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 250 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0; 252 DataRefImpl Symb) const override; 253 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0; [all …]
|
| H A D | SymbolicFile.h | 36 union DataRefImpl { union 44 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function 48 OStream& operator<<(OStream &OS, const DataRefImpl &D) { 54 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) { 57 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0; 60 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) { 64 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) { 67 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0; 105 DataRefImpl SymbolPimpl; 128 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner); [all …]
|
| H A D | ELFObjectFile.h | 56 std::optional<DataRefImpl> Symbol; 77 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0; 78 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0; 79 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0; 80 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0; 82 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0; 83 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0; 84 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0; 86 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 209 const DataRefImpl &DRIA = A.getRawDataRefImpl(); [all …]
|
| H A D | Wasm.h | 133 const WasmSymbol &getWasmSymbol(const DataRefImpl &Symb) const; 164 void moveSymbolNext(DataRefImpl &Symb) const override; 166 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 171 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 175 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 177 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 178 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 179 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 180 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 181 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; [all …]
|
| H A D | MachO.h | 46 DataRefImpl DicePimpl; 51 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner); 62 DataRefImpl getRawDataRefImpl() const; 427 void moveSymbolNext(DataRefImpl &Symb) const override; 429 uint64_t getNValue(DataRefImpl Sym) const; 430 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 435 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const; 438 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 439 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 440 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; [all …]
|
| H A D | XCOFFObjectFile.h | 554 const XCOFFSectionHeader32 *toSection32(DataRefImpl Ref) const; 555 const XCOFFSectionHeader64 *toSection64(DataRefImpl Ref) const; 559 DataRefImpl getSectionByType(XCOFF::SectionTypeFlags SectType) const; 560 uint64_t getSectionFileOffsetToRawData(DataRefImpl Sec) const; 565 const char *getSectionNameInternal(DataRefImpl Sec) const; 592 void moveSymbolNext(DataRefImpl &Symb) const override; 593 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 601 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 602 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 603 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; [all …]
|
| H A D | COFF.h | 914 const coff_symbol_type *toSymb(DataRefImpl Symb) const; 915 const coff_section *toSec(DataRefImpl Sec) const; 916 const coff_relocation *toRel(DataRefImpl Rel) const; 1047 void moveSymbolNext(DataRefImpl &Symb) const override; 1048 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 1049 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 1050 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 1051 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 1052 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 1053 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
| H A D | COFFImportFile.h | 47 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext() 49 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override; 51 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags() 56 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin() 60 DataRefImpl Symb; in symbol_end()
|
| H A D | TapiFile.h | 38 void moveSymbolNext(DataRefImpl &DRI) const override; 40 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override; 42 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override; 48 Expected<SymbolRef::Type> getSymbolType(DataRefImpl DRI) const;
|
| H A D | IRObjectFile.h | 36 void moveSymbolNext(DataRefImpl &Symb) const override; 37 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override; 38 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | GOFFObjectFile.cpp | 187 const uint8_t *GOFFObjectFile::getSymbolEsdRecord(DataRefImpl Symb) const { in getSymbolEsdRecord() 192 Expected<StringRef> GOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 217 Expected<uint64_t> GOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 224 uint64_t GOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 231 uint64_t GOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() 235 bool GOFFObjectFile::isSymbolUnresolved(DataRefImpl Symb) const { in isSymbolUnresolved() 251 bool GOFFObjectFile::isSymbolIndirect(DataRefImpl Symb) const { in isSymbolIndirect() 258 Expected<uint32_t> GOFFObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 288 GOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType() 337 GOFFObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection() [all …]
|
| H A D | XCOFFObjectFile.cpp | 155 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32() 164 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64() 172 XCOFFSymbolRef XCOFFObjectFile::toSymbolRef(DataRefImpl Ref) const { in toSymbolRef() 216 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 260 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 264 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 268 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 272 uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 287 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() 306 XCOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType() [all …]
|
| H A D | ObjectFile.cpp | 56 Expected<uint64_t> ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue() 69 Error ObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName() 77 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment() 79 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode() 87 bool ObjectFile::isSectionStripped(DataRefImpl Sec) const { return false; } in isSectionStripped() 89 bool ObjectFile::isBerkeleyText(DataRefImpl Sec) const { in isBerkeleyText() 93 bool ObjectFile::isBerkeleyData(DataRefImpl Sec) const { in isBerkeleyData() 97 bool ObjectFile::isDebugSection(DataRefImpl Sec) const { return false; } in isDebugSection() 105 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
|
| H A D | TapiFile.cpp | 87 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext() 89 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName() 96 Expected<SymbolRef::Type> TapiFile::getSymbolType(DataRefImpl DRI) const { in getSymbolType() 101 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags() 107 DataRefImpl DRI; in symbol_begin() 113 DataRefImpl DRI; in symbol_end()
|
| H A D | IRObjectFile.cpp | 36 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym() 40 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 44 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName() 49 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 54 DataRefImpl Ret; in symbol_begin() 60 DataRefImpl Ret; in symbol_end()
|
| H A D | COFFObjectFile.cpp | 101 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb() 118 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec() 135 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext() 150 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName() 154 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl() 158 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment() 165 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress() 186 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType() 209 Expected<uint32_t> COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags() 240 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl() [all …]
|
| H A D | WasmObjectFile.cpp | 1800 void WasmObjectFile::moveSymbolNext(DataRefImpl &Symb) const { Symb.d.b++; } in moveSymbolNext() 1802 Expected<uint32_t> WasmObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 1821 DataRefImpl Ref; in symbol_begin() 1828 DataRefImpl Ref; in symbol_end() 1834 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol() 1842 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1846 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 1897 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 1901 uint32_t WasmObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 1906 uint64_t WasmObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() [all …]
|
| H A D | MachOObjectFile.cpp | 119 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() 182 DataRefImpl Sec) { in getSectionFlags() 1718 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in checkSymbolTable() 1768 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 1775 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1791 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() 1796 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue() 1807 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName() 1821 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl() 1825 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFReader.cpp | 23 DataRefImpl SectionDRI; in readSections() 54 DataRefImpl SymbolDRI = Sym.getRawDataRefImpl(); in readSymbols()
|
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | DWARF.cpp | 126 DataRefImpl d; in findAux()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 342 DataRefImpl Sec, in getSection() 403 DataRefImpl DRI, in getSymbol() 477 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders() 557 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 421 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getMachORelocationValueString() 446 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 495 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 517 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 557 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 806 const DataRefImpl Rel = Reloc->getRawDataRefImpl(); in PrintRelocationEntries() 939 object::DataRefImpl DRI; in PrintRelocationEntries() 995 DataRefImpl DRI; in PrintRelocations() 1015 DataRefImpl DRI; in PrintRelocations() 1650 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 338 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintSymbol() 468 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol() 598 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintStab() 1017 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar() 1038 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar() 1194 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect() 1212 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | XCOFFLinkGraphBuilder.cpp | 204 object::DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef()
|