[lld] r214791 - [PECOFF] Remove unused paraemter.
Rui Ueyama
ruiu at google.com
Mon Aug 4 15:19:54 PDT 2014
Author: ruiu
Date: Mon Aug 4 17:19:53 2014
New Revision: 214791
URL: http://llvm.org/viewvc/llvm-project?rev=214791&view=rev
Log:
[PECOFF] Remove unused paraemter.
Modified:
lld/trunk/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
Modified: lld/trunk/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp?rev=214791&r1=214790&r2=214791&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp (original)
+++ lld/trunk/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp Mon Aug 4 17:19:53 2014
@@ -957,7 +957,7 @@ public:
// Interpret .drectve section if the section has contents.
StringRef directives = file->getLinkerDirectives();
if (!directives.empty())
- if (std::error_code ec = handleDirectiveSection(registry, directives))
+ if (std::error_code ec = handleDirectiveSection(directives))
return ec;
if (std::error_code ec = file->parse())
@@ -991,8 +991,7 @@ private:
//
// The section mainly contains /defaultlib (-l in Unix), but can contain any
// options as long as they are valid.
- std::error_code handleDirectiveSection(const Registry ®istry,
- StringRef directives) const {
+ std::error_code handleDirectiveSection(StringRef directives) const {
DEBUG(llvm::dbgs() << ".drectve: " << directives << "\n");
// Split the string into tokens, as the shell would do for argv.
More information about the llvm-commits
mailing list