Home
last modified time | relevance | path

Searched refs:StringTableSection (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObject.h37 class StringTableSection; variable
79 virtual Error visit(const StringTableSection &Sec) = 0;
96 virtual Error visit(StringTableSection &Sec) = 0;
116 Error visit(const StringTableSection &Sec) override;
160 Error visit(StringTableSection &Sec) override;
293 Error visit(const StringTableSection &Sec) override;
304 Error visit(const StringTableSection &Sec) override;
594 class StringTableSection : public SectionBase {
699 StringTableSection *SymbolNames = nullptr;
929 StringTableSection *addStrTab();
[all …]
H A DELFObject.cpp578 void StringTableSection::prepareForLayout() { in prepareForLayout()
771 Expected<StringTableSection *> Sec = in initialize()
772 SecTable.getSectionOfType<StringTableSection>( in initialize()
1252 StringTableSection *BasicELFBuilder::addStrTab() { in addStrTab()
1253 auto &StrTab = Obj->addSection<StringTableSection>(); in addStrTab()
1369 StringTableSection *StrTab = addStrTab(); in build()
1697 return Obj.addSection<StringTableSection>(); in makeSection()
1808 Expected<StringTableSection *> Sec = in readSections()
2240 StringTableSection *StrTab = nullptr; in addNewSymbolTable()
2243 StrTab = static_cast<StringTableSection *>(&Sec); in addNewSymbolTable()
[all …]
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.h420 class StringTableSection final : public LinkEditSection {
422 StringTableSection();
445 uint32_t strx = StringTableSection::emptyStringIndex;
476 SymtabSection(StringTableSection &);
478 StringTableSection &stringTableSection;
487 template <class LP> SymtabSection *makeSymtabSection(StringTableSection &);
H A DSyntheticSections.cpp1101 SymtabSection::SymtabSection(StringTableSection &stringTableSection) in SymtabSection()
1310 SymtabSectionImpl(StringTableSection &stringTableSection) in SymtabSectionImpl()
1387 macho::makeSymtabSection(StringTableSection &stringTableSection) { in makeSymtabSection()
1459 StringTableSection::StringTableSection() in StringTableSection() function in StringTableSection
1462 uint32_t StringTableSection::addString(StringRef str) { in addString()
1469 void StringTableSection::writeTo(uint8_t *buf) const { in writeTo()
2220 template SymtabSection *macho::makeSymtabSection<LP64>(StringTableSection &);
2221 template SymtabSection *macho::makeSymtabSection<ILP32>(StringTableSection &);
H A DWriter.cpp74 StringTableSection *stringTableSection = nullptr;
298 LCSymtab(SymtabSection *symtabSection, StringTableSection *stringTableSection) in LCSymtab()
314 StringTableSection *stringTableSection = nullptr;
979 stringTableSection = make<StringTableSection>(); in createOutputSections()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h387 class StringTableSection final : public SyntheticSection {
389 StringTableSection(StringRef name, bool dynamic);
639 SymbolTableBaseSection(StringTableSection &strTabSec);
653 StringTableSection &strTabSec;
665 SymbolTableSection(StringTableSection &strTabSec);
1311 std::unique_ptr<StringTableSection> dynStrTab;
1362 std::unique_ptr<StringTableSection> shStrTab;
1363 std::unique_ptr<StringTableSection> strTab;
H A DSyntheticSections.cpp1210 StringTableSection::StringTableSection(StringRef name, bool dynamic) in StringTableSection() function in StringTableSection
1223 unsigned StringTableSection::addString(StringRef s, bool hashIt) { in addString()
1237 void StringTableSection::writeTo(uint8_t *buf) { in writeTo()
2083 SymbolTableBaseSection::SymbolTableBaseSection(StringTableSection &strTabSec) in SymbolTableBaseSection()
2199 SymbolTableSection<ELFT>::SymbolTableSection(StringTableSection &strTabSec) in SymbolTableSection()
H A DWriter.cpp344 in.shStrTab = std::make_unique<StringTableSection>(".shstrtab", false); in createSyntheticSections()
350 in.strTab = std::make_unique<StringTableSection>(".strtab", false); in createSyntheticSections()
404 part.dynStrTab = std::make_unique<StringTableSection>(".dynstr", true); in createSyntheticSections()
/freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/
H A DARM.cpp1366 StringTableSection *shstrtab = in writeARMCmseImportLib()
1367 make<StringTableSection>(".shstrtab", /*dynamic=*/false); in writeARMCmseImportLib()
1368 StringTableSection *strtab = in writeARMCmseImportLib()
1369 make<StringTableSection>(".strtab", /*dynamic=*/false); in writeARMCmseImportLib()