| /netbsd-src/external/apache2/llvm/dist/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); 137 DataRefImpl getRawDataRefImpl() const; 178 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner); 245 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0; 247 DataRefImpl Symb) const override; 248 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0; [all …]
|
| H A D | ELFObjectFile.h | 63 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0; 64 virtual uint8_t getSymbolBinding(DataRefImpl Symb) const = 0; 65 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0; 66 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0; 68 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0; 69 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0; 70 virtual uint64_t getSectionOffset(DataRefImpl Sec) const = 0; 72 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 97 std::vector<std::pair<Optional<DataRefImpl>, uint64_t>> 231 uint64_t getSymbolSize(DataRefImpl Sym) const override; [all …]
|
| H A D | SymbolicFile.h | 33 union DataRefImpl { union 41 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function 45 OStream& operator<<(OStream &OS, const DataRefImpl &D) { 51 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) { 54 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0; 57 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) { 61 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) { 64 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0; 102 DataRefImpl SymbolPimpl; 125 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner); [all …]
|
| H A D | XCOFFObjectFile.h | 235 const XCOFFSectionHeader32 *toSection32(DataRefImpl Ref) const; 236 const XCOFFSectionHeader64 *toSection64(DataRefImpl Ref) const; 243 const char *getSectionNameInternal(DataRefImpl Sec) const; 273 void moveSymbolNext(DataRefImpl &Symb) const override; 274 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 278 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 279 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 280 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 281 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 282 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; [all …]
|
| H A D | MachO.h | 44 DataRefImpl DicePimpl; 49 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner); 60 DataRefImpl getRawDataRefImpl() const; 275 void moveSymbolNext(DataRefImpl &Symb) const override; 277 uint64_t getNValue(DataRefImpl Sym) const; 278 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 283 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const; 286 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 287 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 288 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; [all …]
|
| H A D | Wasm.h | 128 const WasmSymbol &getWasmSymbol(const DataRefImpl &Symb) const; 161 void moveSymbolNext(DataRefImpl &Symb) const override; 163 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; 168 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 170 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 172 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 173 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 174 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 175 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override; 176 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override; [all …]
|
| H A D | COFF.h | 831 const coff_symbol_type *toSymb(DataRefImpl Symb) const; 832 const coff_section *toSec(DataRefImpl Sec) const; 833 const coff_relocation *toRel(DataRefImpl Rel) const; 940 void moveSymbolNext(DataRefImpl &Symb) const override; 941 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override; 942 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override; 943 uint32_t getSymbolAlignment(DataRefImpl Symb) const override; 944 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override; 945 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override; 946 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override; [all …]
|
| H A D | COFFImportFile.h | 37 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext() 39 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override { in printSymbolName() 46 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags() 51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin() 55 DataRefImpl Symb; in symbol_end()
|
| H A D | TapiFile.h | 32 void moveSymbolNext(DataRefImpl &DRI) const override; 34 Error printSymbolName(raw_ostream &OS, DataRefImpl DRI) const override; 36 Expected<uint32_t> getSymbolFlags(DataRefImpl DRI) const override;
|
| H A D | IRObjectFile.h | 39 void moveSymbolNext(DataRefImpl &Symb) const override; 40 Error printSymbolName(raw_ostream &OS, DataRefImpl Symb) const override; 41 Expected<uint32_t> getSymbolFlags(DataRefImpl Symb) const override;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | XCOFFObjectFile.cpp | 101 XCOFFObjectFile::toSection32(DataRefImpl Ref) const { in toSection32() 110 XCOFFObjectFile::toSection64(DataRefImpl Ref) const { in toSection64() 118 const XCOFFSymbolEntry *XCOFFObjectFile::toSymbolEntry(DataRefImpl Ref) const { in toSymbolEntry() 150 void XCOFFObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 187 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 201 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 206 uint64_t XCOFFObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 211 uint64_t XCOFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() 218 XCOFFObjectFile::getSymbolType(DataRefImpl Symb) const { in getSymbolType() 224 XCOFFObjectFile::getSymbolSection(DataRefImpl Symb) const { in getSymbolSection() [all …]
|
| H A D | ObjectFile.cpp | 57 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() 102 ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
|
| 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 | 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 | TapiFile.cpp | 78 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; } in moveSymbolNext() 80 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const { in printSymbolName() 87 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const { in getSymbolFlags() 93 DataRefImpl DRI; in symbol_begin() 99 DataRefImpl DRI; in symbol_end()
|
| H A D | WasmObjectFile.cpp | 1459 void WasmObjectFile::moveSymbolNext(DataRefImpl &Symb) const { Symb.d.b++; } in moveSymbolNext() 1461 Expected<uint32_t> WasmObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags() 1480 DataRefImpl Ref; in symbol_begin() 1487 DataRefImpl Ref; in symbol_end() 1493 const WasmSymbol &WasmObjectFile::getWasmSymbol(const DataRefImpl &Symb) const { in getWasmSymbol() 1501 Expected<StringRef> WasmObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1505 Expected<uint64_t> WasmObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress() 1540 uint64_t WasmObjectFile::getSymbolValueImpl(DataRefImpl Symb) const { in getSymbolValueImpl() 1544 uint32_t WasmObjectFile::getSymbolAlignment(DataRefImpl Symb) const { in getSymbolAlignment() 1549 uint64_t WasmObjectFile::getCommonSymbolSizeImpl(DataRefImpl Symb) const { in getCommonSymbolSizeImpl() [all …]
|
| H A D | MachOObjectFile.cpp | 114 getSymbolTableEntryBase(const MachOObjectFile &O, DataRefImpl DRI) { in getSymbolTableEntryBase() 177 DataRefImpl Sec) { in getSectionFlags() 1698 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in checkSymbolTable() 1748 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext() 1755 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName() 1771 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType() 1776 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue() 1787 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName() 1801 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl() 1805 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress() [all …]
|
| H A D | ELFObjectFile.cpp | 572 std::vector<std::pair<Optional<DataRefImpl>, uint64_t>> 631 std::vector<std::pair<Optional<DataRefImpl>, uint64_t>> Result; in getPltAddresses()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | xcoff2yaml.cpp | 57 DataRefImpl SymbolDRI = S.getRawDataRefImpl(); in dumpSymbols()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
| H A D | MachODump.cpp | 432 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getMachORelocationValueString() 457 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 506 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 528 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 568 DataRefImpl RelNext = Rel; in getMachORelocationValueString() 817 const DataRefImpl Rel = Reloc->getRawDataRefImpl(); in PrintRelocationEntries() 950 object::DataRefImpl DRI; in PrintRelocationEntries() 1006 DataRefImpl DRI; in PrintRelocations() 1026 DataRefImpl DRI; in PrintRelocations() 1429 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection() [all …]
|
| H A D | llvm-objdump.cpp | 403 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getHidden() 415 DataRefImpl RelPrev = Rel; in getHidden() 917 DataRefImpl SymbolDRI = Symbol.getRawDataRefImpl(); in createSymbolInfo() 1035 DataRefImpl DR = Section.getRawDataRefImpl(); in getSegmentName() 1088 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in disassembleObject() 1883 DataRefImpl SymDRI = Symbol.getRawDataRefImpl(); in printSymbol()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | MachODumper.cpp | 329 DataRefImpl Sec, in getSection() 390 DataRefImpl DRI, in getSymbol() 464 DataRefImpl DR = Section.getRawDataRefImpl(); in printSectionHeaders() 545 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
| H A D | MachODebugMapParser.cpp | 198 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in parseOneBinary() 326 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in dumpOneBinaryStab()
|
| H A D | MachOUtils.cpp | 209 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols() 216 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 420 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintSymbol() 550 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol() 697 DataRefImpl SymDRI = S.Sym.getRawDataRefImpl(); in darwinPrintStab() 1034 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar() 1055 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar() 1199 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect() 1217 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()
|