This matches ld64, and it's conceivable that projects try to read
this information off stderr for that reason.
--version keeps writing to stdout.
Paths
| Differential D113020
[lld/mac] Write -v output to stderr ClosedPublic Authored by thakis on Nov 2 2021, 7:15 AM.
Details
Summary This matches ld64, and it's conceivable that projects try to read --version keeps writing to stdout.
Diff Detail Event TimelineComment Actions LGTM (a bit of an interesting behaviour on LD64 - but then I'd expect nothing less from it ...)
This revision is now accepted and ready to land.Nov 2 2021, 8:20 AM This revision was landed with ongoing or failed builds.Nov 2 2021, 10:59 AM Closed by commit rG64c173443825: [lld/mac] Write -v output to stderr (authored by thakis). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 384093 lld/Common/ErrorHandler.cpp
lld/MachO/Driver.cpp
lld/include/lld/Common/ErrorHandler.h
|
test failures look related - (ie., tests need to read stderr: 2>&1 ?)