diff options
author | John Harrison <harjohn@google.com> | 2025-03-19 09:16:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 09:16:53 -0700 |
commit | 7af0bfe62fff676c66a5394995b03030cf5baef4 (patch) | |
tree | 21e638ffb73fcc496bd4fa451aee5391e0725718 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 25613b32abaea9719ba1f25934d34acb665d374c (diff) | |
download | llvm-7af0bfe62fff676c66a5394995b03030cf5baef4.zip llvm-7af0bfe62fff676c66a5394995b03030cf5baef4.tar.gz llvm-7af0bfe62fff676c66a5394995b03030cf5baef4.tar.bz2 |
[lldb-dap] Ensure logging statements are written as a single chunk. (#131916)
I noticed this while debugging some unit tests that the logs
occasionally would intersperse two log statements.
Previously, it was possible for a log statement to have two messages
interspersed since the timestamp and log statement were two different
writes to the log stream.
I created a Log helper to ensure we have a lock while attempting to write
to the logs.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions