Home
last modified time | relevance | path

Searched refs:eSym (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/lld/ELF/
DInputFiles.cpp1094 const Elf_Sym &eSym = eSyms[i]; in initializeSymbols() local
1095 uint32_t secIdx = getSectionIndex(eSym); in initializeSymbols()
1098 if (eSym.getBinding() != STB_LOCAL) { in initializeSymbols()
1117 uint8_t type = eSym.getType(); in initializeSymbols()
1119 sourceFile = CHECK(eSym.getName(this->stringTable), this); in initializeSymbols()
1120 if (this->stringTable.size() <= eSym.st_name) in initializeSymbols()
1122 StringRefZ name = this->stringTable.data() + eSym.st_name; in initializeSymbols()
1124 if (eSym.st_shndx == SHN_UNDEF) in initializeSymbols()
1126 make<Undefined>(this, name, STB_LOCAL, eSym.st_other, type); in initializeSymbols()
1129 make<Undefined>(this, name, STB_LOCAL, eSym.st_other, type, in initializeSymbols()
[all …]
DSyntheticSections.cpp2165 auto *eSym = reinterpret_cast<Elf_Sym *>(buf); in writeTo() local
2172 eSym->st_other = 0; in writeTo()
2174 eSym->setBindingAndType(STB_LOCAL, sym->type); in writeTo()
2176 eSym->setBindingAndType(sym->computeBinding(), sym->type); in writeTo()
2177 eSym->setVisibility(sym->visibility); in writeTo()
2183 eSym->st_other |= sym->stOther & 0xe0; in writeTo()
2185 eSym->st_name = ent.strTabOffset; in writeTo()
2187 eSym->st_shndx = getSymSectionIndex(ent.sym); in writeTo()
2189 eSym->st_shndx = 0; in writeTo()
2196 if (eSym->st_shndx == SHN_UNDEF || !isDefinedHere) in writeTo()
[all …]