[lld] r200575 - Update for llvm api change.
Rafael Espindola
rafael.espindola at gmail.com
Fri Jan 31 13:13:59 PST 2014
Author: rafael
Date: Fri Jan 31 15:13:59 2014
New Revision: 200575
URL: http://llvm.org/viewvc/llvm-project?rev=200575&view=rev
Log:
Update for llvm api change.
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=200575&r1=200574&r2=200575&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/FileArchive.cpp (original)
+++ lld/trunk/lib/ReaderWriter/FileArchive.cpp Fri Jan 31 15:13:59 2014
@@ -134,8 +134,7 @@ protected:
continue;
// Get symbol flags
- if ((ec = (i->getFlags(symflags))))
- return ec;
+ symflags = i->getFlags();
if (symflags <= SymbolRef::SF_Undefined)
continue;
More information about the llvm-commits
mailing list