Lines Matching refs:eSym
1020 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() local
1021 uint32_t secIdx = eSym.st_shndx; in initializeSymbols()
1027 uint8_t binding = eSym.getBinding(); in initializeSymbols()
1028 uint8_t stOther = eSym.st_other; in initializeSymbols()
1029 uint8_t type = eSym.getType(); in initializeSymbols()
1030 uint64_t value = eSym.st_value; in initializeSymbols()
1031 uint64_t size = eSym.st_size; in initializeSymbols()
1035 if (LLVM_UNLIKELY(eSym.st_shndx == SHN_COMMON)) { in initializeSymbols()
1057 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() local
1059 sym->resolve(Undefined{this, StringRef(), eSym.getBinding(), eSym.st_other, in initializeSymbols()
1060 eSym.getType()}); in initializeSymbols()
1074 const Elf_Sym &eSym = eSyms[i]; in initializeLocalSymbols() local
1075 uint32_t secIdx = eSym.st_shndx; in initializeLocalSymbols()
1077 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable)); in initializeLocalSymbols()
1082 if (LLVM_UNLIKELY(eSym.getBinding() != STB_LOCAL)) in initializeLocalSymbols()
1087 uint8_t type = eSym.getType(); in initializeLocalSymbols()
1089 sourceFile = CHECK(eSym.getName(stringTable), this); in initializeLocalSymbols()
1090 if (LLVM_UNLIKELY(stringTable.size() <= eSym.st_name)) in initializeLocalSymbols()
1092 StringRef name(stringTable.data() + eSym.st_name); in initializeLocalSymbols()
1095 if (eSym.st_shndx == SHN_UNDEF || sec == &InputSection::discarded) in initializeLocalSymbols()
1096 new (symbols[i]) Undefined(this, name, STB_LOCAL, eSym.st_other, type, in initializeLocalSymbols()
1099 new (symbols[i]) Defined(this, name, STB_LOCAL, eSym.st_other, type, in initializeLocalSymbols()
1100 eSym.st_value, eSym.st_size, sec); in initializeLocalSymbols()
1111 const Elf_Sym &eSym = eSyms[i]; in postParse() local
1113 uint32_t secIdx = eSym.st_shndx; in postParse()
1114 uint8_t binding = eSym.getBinding(); in postParse()
1124 if (LLVM_UNLIKELY(sym.isTls()) && eSym.getType() != STT_TLS && in postParse()
1125 eSym.getType() != STT_NOTYPE) in postParse()
1136 secIdx = check(getExtendedSymbolTableIndex<ELFT>(eSym, i, shndxTable)); in postParse()
1163 ctx->duplicates.push_back({&sym, this, sec, eSym.st_value}); in postParse()