mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Optionally separate Tasks` stderr from stdout.
Fixes a serious problem where spurious output from xcrun breaks swift's discovery of libarclite. <rdar://problem/28573949>
This commit is contained in:
@@ -1204,6 +1204,7 @@ void Driver::buildOutputInfo(const ToolChain &TC, const DerivedArgList &Args,
|
||||
[&OI](sys::ProcessId PID,
|
||||
int returnCode,
|
||||
StringRef output,
|
||||
StringRef errors,
|
||||
void *unused) -> sys::TaskFinishedResponse {
|
||||
if (returnCode == 0) {
|
||||
output = output.rtrim();
|
||||
|
||||
Reference in New Issue
Block a user