Lines Matching refs:eSym
1083 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() local
1084 uint32_t secIdx = eSym.st_shndx; in initializeSymbols()
1090 uint8_t binding = eSym.getBinding(); in initializeSymbols()
1091 uint8_t stOther = eSym.st_other; in initializeSymbols()
1092 uint8_t type = eSym.getType(); in initializeSymbols()
1093 uint64_t value = eSym.st_value; in initializeSymbols()
1094 uint64_t size = eSym.st_size; in initializeSymbols()
1098 if (LLVM_UNLIKELY(eSym.st_shndx == SHN_COMMON)) { in initializeSymbols()
1120 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() local
1122 sym->resolve(Undefined{this, StringRef(), eSym.getBinding(), eSym.st_other, in initializeSymbols()
1123 eSym.getType()}); in initializeSymbols()
1141 const Elf_Sym &eSym = eSyms[i]; in initSectionsAndLocalSyms() local
1142 uint32_t secIdx = eSym.st_shndx; in initSectionsAndLocalSyms()
1144 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable)); in initSectionsAndLocalSyms()
1149 if (LLVM_UNLIKELY(eSym.getBinding() != STB_LOCAL)) in initSectionsAndLocalSyms()
1154 uint8_t type = eSym.getType(); in initSectionsAndLocalSyms()
1156 sourceFile = CHECK(eSym.getName(stringTable), this); in initSectionsAndLocalSyms()
1157 if (LLVM_UNLIKELY(stringTable.size() <= eSym.st_name)) in initSectionsAndLocalSyms()
1159 StringRef name(stringTable.data() + eSym.st_name); in initSectionsAndLocalSyms()
1162 if (eSym.st_shndx == SHN_UNDEF || sec == &InputSection::discarded) in initSectionsAndLocalSyms()
1163 new (symbols[i]) Undefined(this, name, STB_LOCAL, eSym.st_other, type, in initSectionsAndLocalSyms()
1166 new (symbols[i]) Defined(this, name, STB_LOCAL, eSym.st_other, type, in initSectionsAndLocalSyms()
1167 eSym.st_value, eSym.st_size, sec); in initSectionsAndLocalSyms()
1179 const Elf_Sym &eSym = eSyms[i]; in postParse() local
1181 uint32_t secIdx = eSym.st_shndx; in postParse()
1182 uint8_t binding = eSym.getBinding(); in postParse()
1192 if (LLVM_UNLIKELY(sym.isTls()) && eSym.getType() != STT_TLS && in postParse()
1193 eSym.getType() != STT_NOTYPE) in postParse()
1204 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable)); in postParse()
1231 ctx.duplicates.push_back({&sym, this, sec, eSym.st_value}); in postParse()