Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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;
587 class StringTableSection : public SectionBase {
593 StringTableSection() : StrTabBuilder(StringTableBuilder::ELF) { in StringTableSection() function
687 void setStrTab(StringTableSection *StrTab) { SymbolNames = StrTab; } in setStrTab()
[all …]
H A DELFObject.cpp91 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(StringTableSection &) { in visit() argument
394 Error IHexSectionWriterBase::visit(const StringTableSection &Sec) { in visit()
416 Error IHexSectionWriter::visit(const StringTableSection &Sec) { in visit()
565 void StringTableSection::addString(StringRef Name) { StrTabBuilder.add(Name); } in addString()
567 uint32_t StringTableSection::findIndex(StringRef Name) const { in findIndex()
571 void StringTableSection::prepareForLayout() { in prepareForLayout()
576 Error SectionWriter::visit(const StringTableSection &Sec) { in visit()
582 Error StringTableSection::accept(SectionVisitor &Visitor) const { in accept()
586 Error StringTableSection::accept(MutableSectionVisitor &Visitor) { in accept()
758 Expected<StringTableSection *> Sec = in initialize()
[all …]
/openbsd-src/gnu/llvm/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.cpp1087 SymtabSection::SymtabSection(StringTableSection &stringTableSection) in SymtabSection()
1296 SymtabSectionImpl(StringTableSection &stringTableSection) in SymtabSectionImpl()
1374 macho::makeSymtabSection(StringTableSection &stringTableSection) { in makeSymtabSection()
1446 StringTableSection::StringTableSection() in StringTableSection() function in StringTableSection
1449 uint32_t StringTableSection::addString(StringRef str) { in addString()
1456 void StringTableSection::writeTo(uint8_t *buf) const { in writeTo()
2255 template SymtabSection *macho::makeSymtabSection<LP64>(StringTableSection &);
2256 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;
970 stringTableSection = make<StringTableSection>(); in createOutputSections()
/openbsd-src/gnu/llvm/lld/ELF/
H A DSyntheticSections.h385 class StringTableSection final : public SyntheticSection {
387 StringTableSection(StringRef name, bool dynamic);
637 SymbolTableBaseSection(StringTableSection &strTabSec);
651 StringTableSection &strTabSec;
663 SymbolTableSection(StringTableSection &strTabSec);
1248 std::unique_ptr<StringTableSection> dynStrTab;
1296 std::unique_ptr<StringTableSection> shStrTab;
1297 std::unique_ptr<StringTableSection> strTab;
H A DSyntheticSections.cpp1202 StringTableSection::StringTableSection(StringRef name, bool dynamic) in StringTableSection() function in StringTableSection
1215 unsigned StringTableSection::addString(StringRef s, bool hashIt) { in addString()
1229 void StringTableSection::writeTo(uint8_t *buf) { in writeTo()
2056 SymbolTableBaseSection::SymbolTableBaseSection(StringTableSection &strTabSec) in SymbolTableBaseSection()
2172 SymbolTableSection<ELFT>::SymbolTableSection(StringTableSection &strTabSec) in SymbolTableSection()
H A DWriter.cpp283 in.shStrTab = std::make_unique<StringTableSection>(".shstrtab", false); in createSyntheticSections()
289 in.strTab = std::make_unique<StringTableSection>(".strtab", false); in createSyntheticSections()
343 part.dynStrTab = std::make_unique<StringTableSection>(".dynstr", true); in createSyntheticSections()