From b558b79c887ea5eee5d8dcdfb30a0894b0d6d323 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Fri, 25 Sep 2015 04:22:13 +0000 Subject: [PATCH] [ELF2] Make buildbot happy again. llvm-svn: 248560 --- lld/ELF/OutputSections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 8cb7e108e74e..fb31ee10b4f4 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -43,7 +43,7 @@ getLocalSymVA(const typename llvm::object::ELFFile::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;