Home
last modified time | relevance | path

Searched refs:Shndx (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp252 const ELFYAML::SymtabShndxSection &Shndx,
1257 Elf_Shdr &SHeader, const ELFYAML::SymtabShndxSection &Shndx, in writeSectionContent() argument
1259 SHeader.sh_entsize = Shndx.EntSize ? (uint64_t)*Shndx.EntSize : 4; in writeSectionContent()
1261 if (Shndx.Content || Shndx.Size) { in writeSectionContent()
1262 SHeader.sh_size = writeContent(CBA, Shndx.Content, Shndx.Size); in writeSectionContent()
1266 if (!Shndx.Entries) in writeSectionContent()
1269 for (uint32_t E : *Shndx.Entries) in writeSectionContent()
1271 SHeader.sh_size = Shndx.Entries->size() * SHeader.sh_entsize; in writeSectionContent()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp175 const ELFYAML::SymtabShndxSection &Shndx,
861 Elf_Shdr &SHeader, const ELFYAML::SymtabShndxSection &Shndx, in writeSectionContent() argument
866 for (uint32_t E : Shndx.Entries) in writeSectionContent()
869 SHeader.sh_entsize = Shndx.EntSize ? (uint64_t)*Shndx.EntSize : 4; in writeSectionContent()
870 SHeader.sh_size = Shndx.Entries.size() * SHeader.sh_entsize; in writeSectionContent()
/external/llvm-project/llvm/lib/InterfaceStub/
DELFObjHandler.cpp220 uint16_t Shndx = Sym.Undefined ? SHN_UNDEF : 1; in ELFStubBuilder() local
222 (uint8_t)Sym.Type, 0, Shndx); in ELFStubBuilder()
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.cpp729 uint8_t Visibility, uint16_t Shndx, in addSymbol() argument
739 if (Shndx >= SHN_LORESERVE) in addSymbol()
740 Sym.ShndxType = static_cast<SymbolShndxType>(Shndx); in addSymbol()
2466 auto &Shndx = Obj.addSection<SectionIndexSection>(); in finalize() local
2467 Obj.SymbolTable->setShndxTable(&Shndx); in finalize()
2468 Shndx.setSymTab(Obj.SymbolTable); in finalize()
DObject.h690 uint64_t Value, uint8_t Visibility, uint16_t Shndx,