[lld] r289062 - Simplify. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 8 07:36:58 PST 2016
Author: rafael
Date: Thu Dec 8 09:36:58 2016
New Revision: 289062
URL: http://llvm.org/viewvc/llvm-project?rev=289062&view=rev
Log:
Simplify. NFC.
Modified:
lld/trunk/ELF/SymbolTable.cpp
Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=289062&r1=289061&r2=289062&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Thu Dec 8 09:36:58 2016
@@ -614,7 +614,7 @@ SymbolTable<ELFT>::findAllDemangled(Stri
// In this function, we make specified symbols global.
template <class ELFT> void SymbolTable<ELFT>::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;
More information about the llvm-commits
mailing list