[compiler-rt] [rtsan][NFC] Refactor where we unwind the stack (PR #111443)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 12:50:42 PDT 2024
================
@@ -46,41 +46,33 @@ static InitializationState GetInitializationState() {
atomic_load(&rtsan_initialized, memory_order_acquire));
}
-static auto OnViolationAction(DiagnosticsInfo info) {
- return [info]() {
- IncrementTotalErrorCount();
+static auto OnViolationAction(const BufferedStackTrace &stack,
----------------
fmayer wrote:
Do we want to rename this to `OnViolation`? The `Action` bit implied it returns something to execute.
https://github.com/llvm/llvm-project/pull/111443
More information about the llvm-commits
mailing list