/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | GOFFObjectFile.h | 40 typedef DataRefImpl SectionEntryImpl; 64 void moveSymbolNext(DataRefImpl &Symb) const override; 72 bool isSectionNoLoad(DataRefImpl Sec) const; 73 bool isSectionReadOnlyData(DataRefImpl Sec) const; 74 bool isSectionZeroInit(DataRefImpl Sec) const; 78 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 79 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 80 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 81 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 82 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
H A D | ObjectFile.h | 53 DataRefImpl RelocationPimpl; 58 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner); 73 DataRefImpl getRawDataRefImpl() const; 84 DataRefImpl SectionPimpl; 89 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 141 DataRefImpl getRawDataRefImpl() const; 182 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 249 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0; 251 DataRefImpl Symb) const override; 252 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0; [all …]
|
H A D | SymbolicFile.h | 35 union DataRefImpl { union 43 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function 47 OStream& operator<<(OStream &OS, const DataRefImpl &D) { 53 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) { 56 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0; 59 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) { 63 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) { 66 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0; 104 DataRefImpl SymbolPimpl; 127 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner); [all …]
|
H A D | ELFObjectFile.h | 53 std::optional<DataRefImpl> Symbol; 74 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0; 75 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0; 76 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0; 77 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0; 79 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0; 80 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0; 81 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0; 83 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 206 const DataRefImpl &DRIA = A.getRawDataRefImpl(); [all …]
|
H A D | Wasm.h | 132 const WasmSymbol &getWasmSymbol(const DataRefImpl &Symb) const; 163 void moveSymbolNext(DataRefImpl &Symb) const override; 165 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 170 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 174 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 176 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 177 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 178 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 179 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 180 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; [all …]
|
H A D | MachO.h | 45 DataRefImpl DicePimpl; 50 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner); 61 DataRefImpl getRawDataRefImpl() const; 422 void moveSymbolNext(DataRefImpl &Symb) const override; 424 uint64_t getNValue(DataRefImpl Sym) const; 425 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 430 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const; 433 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 434 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 435 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; [all …]
|
H A D | XCOFFObjectFile.h | 547 const XCOFFSectionHeader32 *toSection32(DataRefImpl Ref) const; 548 const XCOFFSectionHeader64 *toSection64(DataRefImpl Ref) const; 552 DataRefImpl getSectionByType(XCOFF::SectionTypeFlags SectType) const; 553 uint64_t getSectionFileOffsetToRawData(DataRefImpl Sec) const; 558 const char *getSectionNameInternal(DataRefImpl Sec) const; 585 void moveSymbolNext(DataRefImpl &Symb) const override; 586 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 594 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 595 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 596 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; [all …]
|
H A D | COFF.h | 868 const coff_symbol_type *toSymb(DataRefImpl Symb) const; 869 const coff_section *toSec(DataRefImpl Sec) const; 870 const coff_relocation *toRel(DataRefImpl Rel) const; 993 void moveSymbolNext(DataRefImpl &Symb) const override; 994 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 995 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 996 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 997 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 998 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 999 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
H A D | COFFImportFile.h | 46 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext() 48 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override; 50 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags() 55 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin() 59 DataRefImpl Symb; in symbol_end()
|
H A D | TapiFile.h | 37 void moveSymbolNext(DataRefImpl &DRI) const override; 39 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override; 41 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override; 47 Expected<SymbolRef::Type> getSymbolType(DataRefImpl DRI) const;
|
H A D | IRObjectFile.h | 35 void moveSymbolNext(DataRefImpl &Symb) const override; 36 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override; 37 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 | 154 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32() 163 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64() 171 XCOFFSymbolRef XCOFFObjectFile::toSymbolRef(DataRefImpl Ref) const { in toSymbolRef() 215 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 259 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 263 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 267 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 271 uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 286 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() 305 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 | 88 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext() 90 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName() 97 Expected<SymbolRef::Type> TapiFile::getSymbolType(DataRefImpl DRI) const { in getSymbolType() 102 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags() 108 DataRefImpl DRI; in symbol_begin() 114 DataRefImpl DRI; in symbol_end()
|
H A D | IRObjectFile.cpp | 36 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { 40 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { 44 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { 49 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { 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 | 1779 void WasmObjectFile::moveSymbolNext(DataRefImpl &Symb) const { Symb.d.b++; } in moveSymbolNext() 1781 Expected<uint32_t> WasmObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 1800 DataRefImpl Ref; in symbol_begin() 1807 DataRefImpl Ref; in symbol_end() 1813 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol() 1821 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1825 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 1876 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 1880 uint32_t WasmObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 1885 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() 1717 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in checkSymbolTable() 1767 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 1774 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1790 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() 1795 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue() 1806 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName() 1820 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl() 1824 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() 55 DataRefImpl SymbolDRI = Sym.getRawDataRefImpl(); in readSymbols()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | DWARF.cpp | 128 DataRefImpl d; in findAux()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 425 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getMachORelocationValueString() 450 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 499 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 521 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 561 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 810 const DataRefImpl Rel = Reloc->getRawDataRefImpl(); in PrintRelocationEntries() 943 object::DataRefImpl DRI; in PrintRelocationEntries() 999 DataRefImpl DRI; in PrintRelocations() 1019 DataRefImpl DRI; in PrintRelocations() 1654 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection() [all …]
|
H A D | XCOFFDump.cpp | 94 DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef()
|
/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-nm/ |
H A D | llvm-nm.cpp | 336 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintSymbol() 466 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol() 596 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintStab() 1015 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar() 1036 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar() 1192 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect() 1210 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()
|