Home
last modified time | relevance | path

Searched refs:DataRefImpl (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/Object/
DObjectFile.h41 DataRefImpl RelocationPimpl;
47 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
62 DataRefImpl getRawDataRefImpl() const;
71 DataRefImpl SectionPimpl;
77 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
107 DataRefImpl getRawDataRefImpl() const;
128 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
196 virtual ErrorOr<StringRef> getSymbolName(DataRefImpl Symb) const = 0;
198 DataRefImpl Symb) const override;
199 virtual ErrorOr<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
[all …]
DELFObjectFile.h50 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0;
51 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0;
52 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0;
54 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0;
55 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0;
57 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
178 uint64_t getSymbolSize(DataRefImpl Sym) const override;
199 void moveSymbolNext(DataRefImpl &Symb) const override;
200 ErrorOr<StringRef> getSymbolName(DataRefImpl Symb) const override;
201 ErrorOr<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
[all …]
DSymbolicFile.h23 union DataRefImpl { union
30 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function
34 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
39 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
42 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
45 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
49 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
52 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
86 DataRefImpl SymbolPimpl;
108 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner);
[all …]
DMachO.h30 DataRefImpl DicePimpl;
36 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
47 DataRefImpl getRawDataRefImpl() const;
199 void moveSymbolNext(DataRefImpl &Symb) const override;
201 uint64_t getNValue(DataRefImpl Sym) const;
202 ErrorOr<StringRef> getSymbolName(DataRefImpl Symb) const override;
205 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const;
208 ErrorOr<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
209 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
210 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
[all …]
DCOFFImportFile.h36 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
39 DataRefImpl Symb) const override { in printSymbolName()
46 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin_impl()
55 DataRefImpl Symb; in symbol_end_impl()
DCOFF.h576 const coff_symbol_type *toSymb(DataRefImpl Symb) const;
577 const coff_section *toSec(DataRefImpl Sec) const;
578 const coff_relocation *toRel(DataRefImpl Rel) const;
649 void moveSymbolNext(DataRefImpl &Symb) const override;
650 ErrorOr<StringRef> getSymbolName(DataRefImpl Symb) const override;
651 ErrorOr<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
652 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
653 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
654 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
655 SymbolRef::Type getSymbolType(DataRefImpl Symb) const override;
[all …]
DIRObjectFile.h35 void moveSymbolNext(DataRefImpl &Symb) const override;
37 DataRefImpl Symb) const override;
38 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
39 GlobalValue *getSymbolGV(DataRefImpl Symb);
40 const GlobalValue *getSymbolGV(DataRefImpl Symb) const { in getSymbolGV()
DFunctionIndexObjectFile.h41 void moveSymbolNext(DataRefImpl &Symb) const override { in moveSymbolNext()
45 DataRefImpl Symb) const override { in printSymbolName()
49 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp101 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
117 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
133 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
148 ErrorOr<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
157 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
161 ErrorOr<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
182 SymbolRef::Type COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
205 uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
233 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
239 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
[all …]
DMachOObjectFile.cpp88 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase()
155 DataRefImpl Sec) { in getSectionFlags()
323 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
330 ErrorOr<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
341 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType()
346 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue()
357 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName()
371 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl()
375 ErrorOr<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress()
379 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
[all …]
DIRObjectFile.cpp117 static GlobalValue *getGV(DataRefImpl &Symb) { in getGV()
145 static unsigned getAsmSymIndex(DataRefImpl Symb) { in getAsmSymIndex()
152 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
190 DataRefImpl Symb) const { in printSymbolName()
210 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
247 GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); } in getSymbolGV()
253 DataRefImpl Ret; in symbol_begin_impl()
259 DataRefImpl Ret; in symbol_end_impl()
DObjectFile.cpp38 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
48 DataRefImpl Symb) const { in printSymbolName()
56 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
58 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp381 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString()
585 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString()
612 DataRefImpl RelNext = Rel; in getRelocationValueString()
661 DataRefImpl RelNext = Rel; in getRelocationValueString()
683 DataRefImpl RelNext = Rel; in getRelocationValueString()
723 DataRefImpl RelNext = Rel; in getRelocationValueString()
781 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getHidden()
793 DataRefImpl RelPrev = Rel; in getHidden()
969 DataRefImpl DR = Section.getRawDataRefImpl(); in DisassembleObject()
1313 DataRefImpl DR = Section->getRawDataRefImpl(); in PrintSymbolTable()
DMachODump.cpp753 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection()
775 DataRefImpl Rel; in DumpLiteralPointerSection()
839 DataRefImpl Ref = Sect->getRawDataRefImpl(); in DumpLiteralPointerSection()
1014 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpSectionContents()
1103 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpInfoPlistSectionContents()
1724 DataRefImpl Rel; in SymbolizerGetOpInfo()
1741 DataRefImpl RelNext = Rel; in SymbolizerGetOpInfo()
1807 DataRefImpl Rel; in SymbolizerGetOpInfo()
1838 DataRefImpl RelNext = Rel; in SymbolizerGetOpInfo()
1877 DataRefImpl Rel; in SymbolizerGetOpInfo()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp277 DataRefImpl SymDRI = I->Sym.getRawDataRefImpl(); in darwinPrintSymbol()
371 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol()
515 DataRefImpl SymDRI = I->Sym.getRawDataRefImpl(); in darwinPrintStab()
753 static uint8_t getNType(MachOObjectFile &Obj, DataRefImpl Symb) { in getNType()
763 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar()
776 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar()
866 DataRefImpl Ref = I->getRawDataRefImpl(); in getNsectForSegSect()
883 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp305 DataRefImpl Sec, in getSection()
366 DataRefImpl DRI, in getSymbol()
442 DataRefImpl DR = Section.getRawDataRefImpl(); in printSections()
534 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp153 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in parseOneBinary()
277 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in dumpOneBinaryStab()
DMachOUtils.cpp186 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols()
193 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols()
DDwarfLinker.cpp1887 object::DataRefImpl RelocDataRef = Reloc.getRawDataRefImpl(); in findValidRelocsMachO()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp85 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in updateSectionAddress()
134 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in createRTDyldELFObject()