summaryrefslogtreecommitdiff
path: root/lld/MinGW
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-05-18 15:05:53 +0300
committerMartin Storsjö <martin@martin.st>2021-05-18 15:09:07 +0300
commitdd7575ba44f0e255e3d3c04bc60648a8d41a18d4 (patch)
treea993ce1149d780ba1c9c57094e3cb12245d11bc0 /lld/MinGW
parent560b709abedc76d7944be38d2f38b7bc8d40e32d (diff)
downloadllvm-dd7575ba44f0e255e3d3c04bc60648a8d41a18d4.tar.gz
[LLD] [MinGW] Pass the canExitEarly parameter through properly
The MinGW driver passed a hardcoded true to this parameter since 6f4e255219f2a7878d3, but when the MinGW driver got the canExitEarly parameter for consistency in b11386f9be9b2dc7276, this call was missed so it wasn't passed on properly.
Diffstat (limited to 'lld/MinGW')
-rw-r--r--lld/MinGW/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/MinGW/Driver.cpp b/lld/MinGW/Driver.cpp
index e6c6efdd2b95..86a898de7517 100644
--- a/lld/MinGW/Driver.cpp
+++ b/lld/MinGW/Driver.cpp
@@ -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);
}