diff options
| author | Rui Ueyama <ruiu@google.com> | 2013-09-09 19:21:06 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2013-09-09 19:21:06 +0000 |
| commit | 67de33b0757a1c0588b2351e1a045d7dde134bf3 (patch) | |
| tree | 5248bbba376d017128c401db3c02fa812035295f | |
| parent | e407736a065bd59d87c30da91e609583cb1cf552 (diff) | |
| download | bcm5719-llvm-67de33b0757a1c0588b2351e1a045d7dde134bf3.tar.gz bcm5719-llvm-67de33b0757a1c0588b2351e1a045d7dde134bf3.zip | |
Use _isWholeArchive to silence -Wunused-private-field warning.
llvm-svn: 190329
| -rw-r--r-- | lld/lib/Driver/DarwinLdDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Driver/DarwinLdDriver.cpp b/lld/lib/Driver/DarwinLdDriver.cpp index 23c3e6bd813..c029f0f77e2 100644 --- a/lld/lib/Driver/DarwinLdDriver.cpp +++ b/lld/lib/Driver/DarwinLdDriver.cpp @@ -75,7 +75,7 @@ MachOFileNode::createLinkerInput(const LinkingContext &ctx) { auto inputFile(FileNode::createLinkerInput(ctx)); if (inputFile) - (*inputFile)->setWholeArchive(false); + (*inputFile)->setWholeArchive(_isWholeArchive); return std::move(inputFile); } |

