Add a log handler that maintains a circular buffer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| lldb/include/lldb/Utility/Log.h | ||
|---|---|---|
| 100 | this could be an array, since it's not being dynamically resized. | |
| lldb/unittests/Utility/LogTest.cpp | ||
|---|---|---|
| 112 | I did that on purpose to avoid the call to flush but looking at the raw_string_ostream the stream is unbuffered and str doesn't even call flush under the hood. TIL. | |
this could be an array, since it's not being dynamically resized.