[LLD] [MinGW] Pass the canExitEarly parameter through properly

The MinGW driver passed a hardcoded true to this parameter
since 6f4e255219, but when the MinGW driver got the
canExitEarly parameter for consistency in b11386f9be, this
call was missed so it wasn't passed on properly.
This commit is contained in:
Martin Storsjö 2021-05-18 15:05:53 +03:00
parent 560b709abe
commit dd7575ba44
1 changed files with 1 additions and 1 deletions

View File

@ -437,5 +437,5 @@ bool mingw::link(ArrayRef<const char *> argsArr, bool canExitEarly,
std::vector<const char *> vec;
for (const std::string &s : linkArgs)
vec.push_back(s.c_str());
return coff::link(vec, true, stdoutOS, stderrOS);
return coff::link(vec, canExitEarly, stdoutOS, stderrOS);
}