aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2024-10-11 11:53:44 -0700
committerGitHub <noreply@github.com>2024-10-11 11:53:44 -0700
commitadaa603224fee842b4f71824617adb3b0c7d9cf1 (patch)
tree8422ff06a8204c077a0f1995051a4d973f160e04 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent31b85c6ead3e0e2979272046548f3ae8a51db289 (diff)
downloadllvm-adaa603224fee842b4f71824617adb3b0c7d9cf1.zip
llvm-adaa603224fee842b4f71824617adb3b0c7d9cf1.tar.gz
llvm-adaa603224fee842b4f71824617adb3b0c7d9cf1.tar.bz2
[MachineVerifier] Report errors from one thread at a time (#111605)
Create the `ReportedErrors` class to track the number of reported errors during verification. The class will block reporting errors if some other thread is currently reporting an error. I've encountered a case where there were many different verifications reporting errors at the same time on different threads. This ensures that we don't start printing the error from one case until we are completely done printing errors from other cases. Most of the time `AbortOnError = true` so we usually abort after reporting the first error. Depends on https://github.com/llvm/llvm-project/pull/111602.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions