| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 52 DataRefImpl RelocationPimpl; 57 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner); 72 DataRefImpl getRawDataRefImpl() const; 83 DataRefImpl SectionPimpl; 88 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner); 140 DataRefImpl getRawDataRefImpl() const; 181 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 248 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0; 250 DataRefImpl Symb) const override; 251 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 | 66 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0; 67 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0; 68 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0; 69 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0; 71 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0; 72 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0; 73 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0; 75 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 100 std::vector<std::pair<std::optional<DataRefImpl>, uint64_t>> 244 uint64_t getSymbolSize(DataRefImpl Sym) const override; [all …]
|
| H A D | Wasm.h | 126 const WasmSymbol &getWasmSymbol(const DataRefImpl &Symb) const; 158 void moveSymbolNext(DataRefImpl &Symb) const override; 160 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 165 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 167 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 169 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 170 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 171 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 172 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 173 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; 421 void moveSymbolNext(DataRefImpl &Symb) const override; 423 uint64_t getNValue(DataRefImpl Sym) const; 424 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 429 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const; 432 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 433 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 434 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; [all …]
|
| H A D | XCOFFObjectFile.h | 537 const XCOFFSectionHeader32 *toSection32(DataRefImpl Ref) const; 538 const XCOFFSectionHeader64 *toSection64(DataRefImpl Ref) const; 542 DataRefImpl getSectionByType(XCOFF::SectionTypeFlags SectType) const; 543 uint64_t getSectionFileOffsetToRawData(DataRefImpl Sec) const; 548 const char *getSectionNameInternal(DataRefImpl Sec) const; 575 void moveSymbolNext(DataRefImpl &Symb) const override; 576 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 580 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 581 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 582 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; [all …]
|
| H A D | COFF.h | 820 const coff_symbol_type *toSymb(DataRefImpl Symb) const; 821 const coff_section *toSec(DataRefImpl Sec) const; 822 const coff_relocation *toRel(DataRefImpl Rel) const; 933 void moveSymbolNext(DataRefImpl &Symb) const override; 934 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 935 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 936 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 937 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 938 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 939 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
| H A D | COFFImportFile.h | 36 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext() 38 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName() 45 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags() 50 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin() 54 DataRefImpl Symb; in symbol_end()
|
| H A D | TapiFile.h | 41 void moveSymbolNext(DataRefImpl &DRI) const override; 43 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override; 45 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
|
| 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;
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 148 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32() 157 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64() 165 XCOFFSymbolRef XCOFFObjectFile::toSymbolRef(DataRefImpl Ref) const { in toSymbolRef() 209 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 253 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 257 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 261 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 265 uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 280 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() 299 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 | 76 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext() 78 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName() 85 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags() 91 DataRefImpl DRI; in symbol_begin() 97 DataRefImpl DRI; in symbol_end()
|
| H A D | IRObjectFile.cpp | 37 static ModuleSymbolTable::Symbol getSym(DataRefImpl &Symb) { in getSym() 41 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 45 Error IRObjectFile::printSymbolName(raw_ostream &OS, DataRefImpl Symb) const { in printSymbolName() 50 Expected<uint32_t> IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 55 DataRefImpl Ret; in symbol_begin() 61 DataRefImpl Ret; in symbol_end()
|
| H A D | COFFObjectFile.cpp | 102 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb() 119 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec() 136 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext() 151 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName() 155 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl() 159 uint32_t COFFObjectFile::getSymbolAlignment(DataRefImpl Ref) const { in getSymbolAlignment() 166 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress() 187 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType() 210 Expected<uint32_t> COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags() 241 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl() [all …]
|
| H A D | WasmObjectFile.cpp | 1553 void WasmObjectFile::moveSymbolNext(DataRefImpl &Symb) const { Symb.d.b++; } in moveSymbolNext() 1555 Expected<uint32_t> WasmObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 1574 DataRefImpl Ref; in symbol_begin() 1581 DataRefImpl Ref; in symbol_end() 1587 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol() 1595 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1599 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 1636 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 1640 uint32_t WasmObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 1645 uint64_t WasmObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() [all …]
|
| H A D | MachOObjectFile.cpp | 117 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() 180 DataRefImpl Sec) { in getSectionFlags() 1710 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in checkSymbolTable() 1760 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 1767 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1783 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() 1788 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue() 1799 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName() 1813 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl() 1817 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress() [all …]
|
| H A D | ELFObjectFile.cpp | 600 std::vector<std::pair<std::optional<DataRefImpl>, uint64_t>> 659 std::vector<std::pair<std::optional<DataRefImpl>, uint64_t>> Result; in getPltAddresses()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFReader.cpp | 23 DataRefImpl SectionDRI; in readSections() 55 DataRefImpl SymbolDRI = Sym.getRawDataRefImpl(); in readSymbols()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | xcoff2yaml.cpp | 81 DataRefImpl SectionDRI; in dumpSections() 113 DataRefImpl SymbolDRI = S.getRawDataRefImpl(); in dumpSymbols()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/ |
| H A D | XCOFFDump.cpp | 73 DataRefImpl DRI; in getXCOFFSymbolContainingSymbolRef()
|
| H A D | MachODump.cpp | 451 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getMachORelocationValueString() 476 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 525 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 547 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 587 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 836 const DataRefImpl Rel = Reloc->getRawDataRefImpl(); in PrintRelocationEntries() 969 object::DataRefImpl DRI; in PrintRelocationEntries() 1025 DataRefImpl DRI; in PrintRelocations() 1045 DataRefImpl DRI; in PrintRelocations() 1680 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection() [all …]
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | DWARF.cpp | 127 DataRefImpl d; in findAux()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | MachODebugMapParser.cpp | 209 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in parseOneBinary() 337 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in dumpOneBinaryStab()
|