Lines Matching defs:eSym
1141 const Elf_Sym &eSym = eSyms[i];
1142 uint32_t secIdx = eSym.st_shndx;
1148 uint8_t binding = eSym.getBinding();
1149 uint8_t stOther = eSym.st_other;
1150 uint8_t type = eSym.getType();
1151 uint64_t value = eSym.st_value;
1152 uint64_t size = eSym.st_size;
1156 if (LLVM_UNLIKELY(eSym.st_shndx == SHN_COMMON)) {
1178 const Elf_Sym &eSym = eSyms[i];
1180 sym->resolve(Undefined{this, StringRef(), eSym.getBinding(), eSym.st_other,
1181 eSym.getType()});
1199 const Elf_Sym &eSym = eSyms[i];
1200 uint32_t secIdx = eSym.st_shndx;
1202 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable));
1207 if (LLVM_UNLIKELY(eSym.getBinding() != STB_LOCAL))
1212 uint8_t type = eSym.getType();
1214 sourceFile = CHECK(eSym.getName(stringTable), this);
1215 if (LLVM_UNLIKELY(stringTable.size() <= eSym.st_name))
1217 StringRef name(stringTable.data() + eSym.st_name);
1220 if (eSym.st_shndx == SHN_UNDEF || sec == &InputSection::discarded)
1221 new (symbols[i]) Undefined(this, name, STB_LOCAL, eSym.st_other, type,
1224 new (symbols[i]) Defined(this, name, STB_LOCAL, eSym.st_other, type,
1225 eSym.st_value, eSym.st_size, sec);
1237 const Elf_Sym &eSym = eSyms[i];
1239 uint32_t secIdx = eSym.st_shndx;
1240 uint8_t binding = eSym.getBinding();
1250 if (LLVM_UNLIKELY(sym.isTls()) && eSym.getType() != STT_TLS &&
1251 eSym.getType() != STT_NOTYPE)
1262 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable));
1289 ctx.duplicates.push_back({&sym, this, sec, eSym.st_value});