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.
Details
Details
- Reviewers
• espindola
Diff Detail
Diff Detail
Paths
| Differential D10861
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
Summary There is no need to buffer the nulls() output.
Diff Detail Event Timelinemehdi_amini updated this object.
Revision Contents
Diff 28895 include/llvm/Support/circular_raw_ostream.h
include/llvm/Support/raw_ostream.h
lib/Bitcode/Writer/BitWriter.cpp
lib/Support/raw_ostream.cpp
unittests/Support/MemoryBufferTest.cpp
unittests/Support/SpecialCaseListTest.cpp
|