[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 14:01:51 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 OnViolation(const BufferedStackTrace &stack,
----------------
fmayer wrote:
`auto` -> `void`
https://github.com/llvm/llvm-project/pull/111443
    
    
More information about the llvm-commits
mailing list