This revision was automatically updated to reflect the committed changes.
Closed by commit rL295712: Log: Fix race in accessing the stream variable
(authored by labath).
Changed prior to commit:
https://reviews.llvm.org/D30168?vs=89120&id=89178#toc
Repository:
rL LLVM
https://reviews.llvm.o
labath created this revision.
The code was attempting to copy the shared pointer member in order to
guarantee atomicity, but this is not enough. Instead, protect the
pointer with a proper read-write mutex.
This bug was present here for a long time, but my recent refactors must
have altered the ti