Home | History | Annotate | Download | only in Object

Lines Matching defs:DataRefImpl

29 union DataRefImpl {
75 static bool operator ==(const DataRefImpl &a, const DataRefImpl &b) {
78 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
85 DataRefImpl SymbolPimpl;
100 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
124 DataRefImpl getRawDataRefImpl() const;
131 DataRefImpl RelocationPimpl;
139 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
167 DataRefImpl SectionPimpl;
175 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
224 // Implementations assume that the DataRefImpl is valid and has not been
227 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const = 0;
228 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0;
229 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const =0;
230 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const =0;
231 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0;
232 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0;
233 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const = 0;
234 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const = 0;
235 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const = 0;
239 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const = 0;
240 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const = 0;
241 virtual error_code getSectionAddress(DataRefImpl Sec, uint64_t &Res) const =0;
242 virtual error_code getSectionSize(DataRefImpl Sec, uint64_t &Res) const = 0;
243 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res)const=0;
244 virtual error_code getSectionAlignment(DataRefImpl Sec, uint64_t &Res)const=0;
245 virtual error_code isSectionText(DataRefImpl Sec, bool &Res) const = 0;
246 virtual error_code isSectionData(DataRefImpl Sec, bool &Res) const = 0;
247 virtual error_code isSectionBSS(DataRefImpl Sec, bool &Res) const = 0;
248 virtual error_code sectionContainsSymbol(DataRefImpl Sec, DataRefImpl Symb,
250 virtual relocation_iterator getSectionRelBegin(DataRefImpl Sec) const = 0;
251 virtual relocation_iterator getSectionRelEnd(DataRefImpl Sec) const = 0;
256 virtual error_code getRelocationNext(DataRefImpl Rel,
258 virtual error_code getRelocationAddress(DataRefImpl Rel,
260 virtual error_code getRelocationSymbol(DataRefImpl Rel,
262 virtual error_code getRelocationType(DataRefImpl Rel,
264 virtual error_code getRelocationTypeName(DataRefImpl Rel,
266 virtual error_code getRelocationAdditionalInfo(DataRefImpl Rel,
268 virtual error_code getRelocationValueString(DataRefImpl Rel,
306 inline SymbolRef::SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner)
350 inline DataRefImpl SymbolRef::getRawDataRefImpl() const {
356 inline SectionRef::SectionRef(DataRefImpl SectionP,
416 inline RelocationRef::RelocationRef(DataRefImpl RelocationP,