This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Avoid conflating stderr and stdout in the DSL
ClosedPublic

Authored by ldionne on Aug 11 2021, 9:28 AM.

Details

Reviewers
ldionne
Group Reviewers
Restricted Project
Commits
rGb408bbbf5b89: [libc++] Avoid conflating stderr and stdout in the DSL
Summary

This is a workaround until https://reviews.llvm.org/D81892 is merged
and the internal Lit shell stops conflating error output with normal
output. Without this, any program that writes to stderr will trip up
the programOutput function, because it will pick up the '# command stderr:'
string and think it's part of the command's stdout.

rdar://81056048

Diff Detail

Event Timeline

ldionne created this revision.Aug 11 2021, 9:28 AM
ldionne requested review of this revision.Aug 11 2021, 9:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2021, 9:28 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Aug 11 2021, 2:06 PM
This revision is now accepted and ready to land.Aug 11 2021, 2:06 PM
This revision was automatically updated to reflect the committed changes.