Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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;
584 class StringTableSection : public SectionBase {
689 StringTableSection *SymbolNames = nullptr;
917 StringTableSection *addStrTab();
[all …]
H A DELFObject.cpp550 void StringTableSection::prepareForLayout() { in prepareForLayout()
737 Expected<StringTableSection *> Sec = in initialize()
738 SecTable.getSectionOfType<StringTableSection>( in initialize()
1216 StringTableSection *BasicELFBuilder::addStrTab() { in addStrTab()
1217 auto &StrTab = Obj->addSection<StringTableSection>(); in addStrTab()
1333 StringTableSection *StrTab = addStrTab(); in build()
1661 return Obj.addSection<StringTableSection>(); in makeSection()
1768 Expected<StringTableSection *> Sec = in readSections()
2198 StringTableSection *StrTab = nullptr; in addNewSymbolTable()
2201 StrTab = static_cast<StringTableSection *>(&Sec); in addNewSymbolTable()
[all …]
/llvm-project-15.0.7/lld/MachO/
H A DSyntheticSections.h388 class StringTableSection final : public LinkEditSection {
390 StringTableSection();
413 uint32_t strx = StringTableSection::emptyStringIndex;
444 SymtabSection(StringTableSection &);
446 StringTableSection &stringTableSection;
455 template <class LP> SymtabSection *makeSymtabSection(StringTableSection &);
H A DSyntheticSections.cpp909 SymtabSection::SymtabSection(StringTableSection &stringTableSection) in SymtabSection()
1119 SymtabSectionImpl(StringTableSection &stringTableSection) in SymtabSectionImpl()
1197 macho::makeSymtabSection(StringTableSection &stringTableSection) { in makeSymtabSection()
1260 StringTableSection::StringTableSection() in StringTableSection() function in StringTableSection
1263 uint32_t StringTableSection::addString(StringRef str) { in addString()
1270 void StringTableSection::writeTo(uint8_t *buf) const { in writeTo()
1756 template SymtabSection *macho::makeSymtabSection<LP64>(StringTableSection &);
1757 template SymtabSection *macho::makeSymtabSection<ILP32>(StringTableSection &);
H A DWriter.cpp74 StringTableSection *stringTableSection = nullptr;
297 LCSymtab(SymtabSection *symtabSection, StringTableSection *stringTableSection) in LCSymtab()
313 StringTableSection *stringTableSection = nullptr;
924 stringTableSection = make<StringTableSection>(); in createOutputSections()
/llvm-project-15.0.7/lld/ELF/
H A DSyntheticSections.h406 class StringTableSection final : public SyntheticSection {
408 StringTableSection(StringRef name, bool dynamic);
624 SymbolTableBaseSection(StringTableSection &strTabSec);
638 StringTableSection &strTabSec;
650 SymbolTableSection(StringTableSection &strTabSec);
1235 std::unique_ptr<StringTableSection> dynStrTab;
1282 std::unique_ptr<StringTableSection> shStrTab;
1283 std::unique_ptr<StringTableSection> strTab;
H A DSyntheticSections.cpp1234 StringTableSection::StringTableSection(StringRef name, bool dynamic) in StringTableSection() function in StringTableSection
1247 unsigned StringTableSection::addString(StringRef s, bool hashIt) { in addString()
1261 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.cpp302 in.shStrTab = std::make_unique<StringTableSection>(".shstrtab", false); in createSyntheticSections()
308 in.strTab = std::make_unique<StringTableSection>(".strtab", false); in createSyntheticSections()
361 part.dynStrTab = std::make_unique<StringTableSection>(".dynstr", true); in createSyntheticSections()