From 39c16dfbceb55323e946b8330b4f8d4a08179431 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 8 Dec 2016 15:36:58 +0000 Subject: [PATCH] Simplify. NFC. llvm-svn: 289062 --- lld/ELF/SymbolTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp index 73ef1cba153e..1927f7aae8c7 100644 --- a/lld/ELF/SymbolTable.cpp +++ b/lld/ELF/SymbolTable.cpp @@ -614,7 +614,7 @@ SymbolTable::findAllDemangled(StringRef GlobPat) { // In this function, we make specified symbols global. template void SymbolTable::handleAnonymousVersion() { for (SymbolVersion &Ver : Config->VersionScriptGlobals) { - if (hasWildcard(Ver.Name)) { + if (Ver.HasWildcard) { for (SymbolBody *B : findAll(Ver.Name)) B->symbol()->VersionId = VER_NDX_GLOBAL; continue;