diff options
| author | Davide Italiano <davide@freebsd.org> | 2015-04-20 22:54:50 +0000 |
|---|---|---|
| committer | Davide Italiano <davide@freebsd.org> | 2015-04-20 22:54:50 +0000 |
| commit | 037cfdd1db5dd1d250ee0c365ab2e39f6e331e94 (patch) | |
| tree | fa4fc438bfd2af7b8b8717596e2554b42f94af58 | |
| parent | 00e5d9ee5f71ecbe1fcbf25cf09ab96f785a2de7 (diff) | |
| download | bcm5719-llvm-037cfdd1db5dd1d250ee0c365ab2e39f6e331e94.tar.gz bcm5719-llvm-037cfdd1db5dd1d250ee0c365ab2e39f6e331e94.zip | |
--discard-locals should be --discard-all here.
Sorry for the mistake/confusion.
llvm-svn: 235359
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/SectionChunks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.cpp b/lld/lib/ReaderWriter/ELF/SectionChunks.cpp index ea3f8c24afc..76690f069ff 100644 --- a/lld/lib/ReaderWriter/ELF/SectionChunks.cpp +++ b/lld/lib/ReaderWriter/ELF/SectionChunks.cpp @@ -484,7 +484,7 @@ void SymbolTable<ELFT>::addSymbol(const Atom *atom, int32_t sectionIndex, else addUndefinedAtom(symbol, dyn_cast<UndefinedAtom>(atom)); - // If --discard-local is on, don't add to the symbol table + // If --discard-all is on, don't add to the symbol table // symbols with local binding. if (this->_ctx.discardLocals() && symbol.getBinding() == llvm::ELF::STB_LOCAL) return; |

