This is an archive of the discontinued LLVM Phabricator instance.

libc++: Print log/error messages on stderr, not stdout
ClosedPublic

Authored by ed on Mar 7 2015, 12:31 AM.

Details

Summary

There are a couple of places where libc++ prints log/error messages to stdout on its own. This may of course interfere with the output generated with applications. Log/error messages should be directed to stderr instead.

Diff Detail

Repository
rL LLVM

Event Timeline

ed updated this revision to Diff 21417.Mar 7 2015, 12:31 AM
ed retitled this revision from to libc++: Print log/error messages on stderr, not stdout.
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: EricWF, mclow.lists.
ed added a subscriber: Unknown Object (MLST).
mclow.lists edited edge metadata.Mar 7 2015, 4:38 PM

You missed one in <string> (line 42)

ed updated this revision to Diff 21446.Mar 8 2015, 1:33 AM
ed edited edge metadata.

You missed one in <string> (line 42)

Ah, thanks for noticing. Updated the diff.

mclow.lists accepted this revision.Mar 9 2015, 7:44 AM
mclow.lists edited edge metadata.
This revision is now accepted and ready to land.Mar 9 2015, 7:44 AM
This revision was automatically updated to reflect the committed changes.