summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/OutputSections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index 8cb7e108e74..fb31ee10b4f 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -43,7 +43,7 @@ getLocalSymVA(const typename llvm::object::ELFFile<ELFT>::Elf_Sym *Sym,
bool includeInSymtab(const SymbolBody &B);
bool includeInDynamicSymtab(const SymbolBody &B);
-static bool shouldKeepInSymtab(StringRef SymName) {
+inline bool shouldKeepInSymtab(StringRef SymName) {
if (Config->DiscardNone)
return true;
OpenPOWER on IntegriCloud