This is an archive of the discontinued LLVM Phabricator instance.

Disable buffering for raw_null_ostream()
Needs ReviewPublic

Authored by mehdi_amini on Jun 30 2015, 10:40 PM.
This revision needs review, but all specified reviewers are disabled or inactive.

Details

Reviewers
espindola
Summary

There is no need to buffer the nulls() output.
Moreover it kept a shared buffer, and made using nulls() not possible
in a multi-threaded environment.

Diff Detail

Event Timeline

mehdi_amini retitled this revision from to Disable buffering for raw_null_ostream().
mehdi_amini updated this object.
mehdi_amini edited the test plan for this revision. (Show Details)
mehdi_amini added a reviewer: rafael.
mehdi_amini added a subscriber: Unknown Object (MLST).
mehdi_amini updated this revision to Diff 28895.Jul 1 2015, 1:35 PM

Take Duncan review into account

mehdi_amini updated this revision to Diff 28906.Jul 1 2015, 3:22 PM

Split refactoring in D10885, leaving only the functional change for nulls() here.

espindola edited reviewers, added: espindola; removed: rafael.Mar 15 2018, 11:02 AM