LLD COFF: close handles to objects used to link
fixes test failures on windows See #302 patch sent upstream: http://lists.llvm.org/pipermail/llvm-dev/2017-October/118234.html
This commit is contained in:
parent
562f91e875
commit
2a08116788
1
deps/lld/COFF/Driver.cpp
vendored
1
deps/lld/COFF/Driver.cpp
vendored
@ -61,6 +61,7 @@ bool link(ArrayRef<const char *> Args, raw_ostream &Diag) {
|
||||
(ErrorOS == &llvm::errs() && Process::StandardErrHasColors());
|
||||
Driver = make<LinkerDriver>();
|
||||
Driver->link(Args);
|
||||
freeArena();
|
||||
return !ErrorCount;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user