Repository navigation
Tags
Tags
Print each clang-tidy command and its output under a lock This fixes NUL bytes and lost lines in the output of run_O2CodeChecker.py. - All threads wrote to sys.stdout concurrently, which corrupts it with Python 3.9/3.10. - With a fake clang-tidy, 20000 files at -j 64 gave ~200k NUL bytes and ~2000 lost lines with Python 3.10. - Each thread now captures the clang-tidy output and prints it with the command line under a lock. alisw/alidist#6360 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Print each clang-tidy command and its output under a lock This fixes NUL bytes and lost lines in the output of run_O2CodeChecker.py. - All threads wrote to sys.stdout concurrently, which corrupts it with Python 3.9/3.10. - With a fake clang-tidy, 20000 files at -j 64 gave ~200k NUL bytes and ~2000 lost lines with Python 3.10. - Each thread now captures the clang-tidy output and prints it with the command line under a lock. alisw/alidist#6360 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 40c1855)
Handle case in which -extra-args has more than one extra arg.
PreviousNext