summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputFiles.h')
-rw-r--r--lld/ELF/InputFiles.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h
index 7ca166a7ca5..e530f7fa70a 100644
--- a/lld/ELF/InputFiles.h
+++ b/lld/ELF/InputFiles.h
@@ -129,7 +129,9 @@ public:
// R_MIPS_GPREL16 / R_MIPS_GPREL32 relocations.
uint32_t getMipsGp0() const;
- std::vector<const Elf_Sym *> KeptLocalSyms;
+ // The number is the offset in the string table. It will be used as the
+ // st_name of the symbol.
+ std::vector<std::pair<const Elf_Sym *, unsigned>> KeptLocalSyms;
private:
void initializeSections(llvm::DenseSet<StringRef> &ComdatGroups);
OpenPOWER on IntegriCloud