Home | History | Annotate | Download | only in Object

Lines Matching refs:DRI

256 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) {
257 const char *P = reinterpret_cast<const char *>(DRI.p);
502 error_code MachOObjectFile::getSymbolAlignment(DataRefImpl DRI,
505 this->getSymbolFlags(DRI, flags);
507 SymbolTableEntryBase Entry = getSymbolTableEntryBase(this, DRI);
515 error_code MachOObjectFile::getSymbolSize(DataRefImpl DRI,
521 SymbolTableEntryBase Entry = getSymbolTableEntryBase(this, DRI);
523 getSymbolAddress(DRI, Value);
530 this->getSymbolFlags(DRI, flags);
542 DataRefImpl DRI = I->getRawDataRefImpl();
543 Entry = getSymbolTableEntryBase(this, DRI);
544 getSymbolAddress(DRI, Value);
611 error_code MachOObjectFile::getSymbolFlags(DataRefImpl DRI,
613 SymbolTableEntryBase Entry = getSymbolTableEntryBase(this, DRI);
631 getSymbolAddress(DRI, Value);
655 DataRefImpl DRI;
656 DRI.d.a = index - 1;
657 Res = section_iterator(SectionRef(DRI, this));
748 error_code MachOObjectFile::isSectionData(DataRefImpl DRI, bool &Result) const {
754 error_code MachOObjectFile::isSectionBSS(DataRefImpl DRI, bool &Result) const {
1209 DataRefImpl DRI;
1211 return symbol_iterator(SymbolRef(DRI, this));
1214 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Symtab.SymbolTableOffset));
1215 return symbol_iterator(SymbolRef(DRI, this));
1219 DataRefImpl DRI;
1221 return symbol_iterator(SymbolRef(DRI, this));
1229 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset));
1230 return symbol_iterator(SymbolRef(DRI, this));
1244 DataRefImpl DRI;
1245 return section_iterator(SectionRef(DRI, this));
1249 DataRefImpl DRI;
1250 DRI.d.a = Sections.size();
1251 return section_iterator(SectionRef(DRI, this));
1327 DataRefImpl DRI;
1328 DRI.d.a = Index;
1329 return getSectionRelBegin(DRI);
1333 DataRefImpl DRI;
1334 DRI.d.a = Index;
1335 return getSectionRelEnd(DRI);
1339 DataRefImpl DRI;
1341 return dice_iterator(DiceRef(DRI, this));
1344 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, DicLC.DataOffset));
1345 return dice_iterator(DiceRef(DRI, this));
1349 DataRefImpl DRI;
1351 return dice_iterator(DiceRef(DRI, this));
1355 DRI.p = reinterpret_cast<uintptr_t>(getPtr(this, Offset));
1356 return dice_iterator(DiceRef(DRI, this));
1444 DataRefImpl DRI;
1445 DRI.d.a = SecNum;
1446 return SectionRef(DRI, this);
1467 macho::Section MachOObjectFile::getSection(DataRefImpl DRI) const {
1468 return getStruct<macho::Section>(this, Sections[DRI.d.a]);
1471 macho::Section64 MachOObjectFile::getSection64(DataRefImpl DRI) const {
1472 return getStruct<macho::Section64>(this, Sections[DRI.d.a]);
1488 MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI) const {
1489 const char *P = reinterpret_cast<const char *>(DRI.p);
1494 MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI) const {
1495 const char *P = reinterpret_cast<const char *>(DRI.p);