diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-06-16 21:04:14 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-06-16 21:04:14 +0000 |
commit | 15f7a1a3796209b21af2817fdf11ca9932165c70 (patch) | |
tree | b27ac12a6f210080b2233100767c839224666505 /ELF/InputFiles.h | |
parent | 2079716dfb3fb7e4e24b8b2e85eb6780b981a0af (diff) | |
download | src-15f7a1a3796209b21af2817fdf11ca9932165c70.tar.gz src-15f7a1a3796209b21af2817fdf11ca9932165c70.zip |
Vendor import of lld trunk r305575:vendor/lld/lld-trunk-r305575
Notes
Notes:
svn path=/vendor/lld/dist/; revision=320021
svn path=/vendor/lld/lld-trunk-r305575/; revision=320022; tag=vendor/lld/lld-trunk-r305575
Diffstat (limited to 'ELF/InputFiles.h')
-rw-r--r-- | ELF/InputFiles.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ELF/InputFiles.h b/ELF/InputFiles.h index 6daf26649859..2eec78444837 100644 --- a/ELF/InputFiles.h +++ b/ELF/InputFiles.h @@ -194,8 +194,8 @@ private: void initializeSymbols(); void initializeDwarfLine(); InputSectionBase *getRelocTarget(const Elf_Shdr &Sec); - InputSectionBase *createInputSection(const Elf_Shdr &Sec, - StringRef SectionStringTable); + InputSectionBase *createInputSection(const Elf_Shdr &Sec); + StringRef getSectionName(const Elf_Shdr &Sec); bool shouldMerge(const Elf_Shdr &Sec); SymbolBody *createSymbolBody(const Elf_Sym *Sym); @@ -203,6 +203,9 @@ private: // List of all symbols referenced or defined by this file. std::vector<SymbolBody *> SymbolBodies; + // .shstrtab contents. + StringRef SectionStringTable; + // Debugging information to retrieve source file and line for error // reporting. Linker may find reasonable number of errors in a // single object file, so we cache debugging information in order to |