[lld] r240781 - Update for llvm changes.
Rafael Espindola
rafael.espindola at gmail.com
Fri Jun 26 06:19:38 PDT 2015
Author: rafael
Date: Fri Jun 26 08:19:38 2015
New Revision: 240781
URL: http://llvm.org/viewvc/llvm-project?rev=240781&view=rev
Log:
Update for llvm changes.
Modified:
lld/trunk/lib/ReaderWriter/FileArchive.cpp
Modified: lld/trunk/lib/ReaderWriter/FileArchive.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/FileArchive.cpp?rev=240781&r1=240780&r2=240781&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/FileArchive.cpp (original)
+++ lld/trunk/lib/ReaderWriter/FileArchive.cpp Fri Jun 26 08:19:38 2015
@@ -215,9 +215,7 @@ private:
continue;
// Returns true if it's a data symbol.
- SymbolRef::Type type;
- if (sym.getType(type))
- return false;
+ SymbolRef::Type type = sym.getType();
if (type == SymbolRef::ST_Data)
return true;
}
More information about the llvm-commits
mailing list