Lines Matching refs:Symb
128 const coff_symbol *Symb = toSymb(Ref);
129 Symb += 1 + Symb->NumberOfAuxSymbols;
130 Ref.p = reinterpret_cast<uintptr_t>(Symb);
135 const coff_symbol *Symb = toSymb(Ref);
136 return getSymbolName(Symb, Result);
141 const coff_symbol *Symb = toSymb(Ref);
143 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
146 if (Symb->SectionNumber == COFF::IMAGE_SYM_UNDEFINED)
149 Result = Section->VirtualAddress + Symb->Value;
151 Result = Symb->Value;
157 const coff_symbol *Symb = toSymb(Ref);
159 if (Symb->StorageClass == COFF::IMAGE_SYM_CLASS_EXTERNAL &&
160 Symb->SectionNumber == COFF::IMAGE_SYM_UNDEFINED) {
162 } else if (Symb->isFunctionDefinition()) {
166 if (!COFF::isReservedSectionNumber(Symb->SectionNumber)) {
168 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
180 const coff_symbol *Symb = toSymb(Ref);
185 if (Symb->SectionNumber == COFF::IMAGE_SYM_UNDEFINED) {
186 if (Symb->Value == 0)
194 if (Symb->StorageClass == COFF::IMAGE_SYM_CLASS_EXTERNAL)
197 if (Symb->StorageClass == COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL)
200 if (Symb->SectionNumber == COFF::IMAGE_SYM_ABSOLUTE)
211 const coff_symbol *Symb = toSymb(Ref);
213 if (std::error_code EC = getSection(Symb->SectionNumber, Section))
216 if (Symb->SectionNumber == COFF::IMAGE_SYM_UNDEFINED)
219 Result = Section->SizeOfRawData - Symb->Value;
228 const coff_symbol *Symb = toSymb(Ref);
229 if (COFF::isReservedSectionNumber(Symb->SectionNumber)) {
233 if (std::error_code EC = getSection(Symb->SectionNumber, Sec))
340 const coff_symbol *Symb = toSymb(SymbRef);
342 if (std::error_code EC = getSection(Symb->SectionNumber, SymbSec))
985 const coff_symbol *Symb = nullptr;
986 if (std::error_code EC = getSymbol(Reloc->SymbolTableIndex, Symb))
989 Sym.p = reinterpret_cast<uintptr_t>(Symb);