forked from OSchip/llvm-project
Use _isWholeArchive to silence -Wunused-private-field warning.
llvm-svn: 190329
This commit is contained in:
parent
e407736a06
commit
67de33b075
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue