Lines Matching defs:DRI
87 void TapiFile::moveSymbolNext(DataRefImpl &DRI) const { DRI.d.a++; }
89 Error TapiFile::printSymbolName(raw_ostream &OS, DataRefImpl DRI) const {
90 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds");
91 const Symbol &Sym = Symbols[DRI.d.a];
96 Expected<SymbolRef::Type> TapiFile::getSymbolType(DataRefImpl DRI) const {
97 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds");
98 return Symbols[DRI.d.a].Type;
101 Expected<uint32_t> TapiFile::getSymbolFlags(DataRefImpl DRI) const {
102 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds");
103 return Symbols[DRI.d.a].Flags;
107 DataRefImpl DRI;
108 DRI.d.a = 0;
109 return BasicSymbolRef{DRI, this};
113 DataRefImpl DRI;
114 DRI.d.a = Symbols.size();
115 return BasicSymbolRef{DRI, this};