Skip to content

Commit dd7575b

Browse files
committed
[LLD] [MinGW] Pass the canExitEarly parameter through properly
The MinGW driver passed a hardcoded true to this parameter since 6f4e255, but when the MinGW driver got the canExitEarly parameter for consistency in b11386f, this call was missed so it wasn't passed on properly.
1 parent 560b709 commit dd7575b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MinGW/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,5 +437,5 @@ bool mingw::link(ArrayRef<const char *> argsArr, bool canExitEarly,
437437
std::vector<const char *> vec;
438438
for (const std::string &s : linkArgs)
439439
vec.push_back(s.c_str());
440-
return coff::link(vec, true, stdoutOS, stderrOS);
440+
return coff::link(vec, canExitEarly, stdoutOS, stderrOS);
441441
}

0 commit comments

Comments
 (0)