[compiler-rt] [llvm] [ASan] Do not instrument catch block parameters on Windows (PR #159618)

David Justo via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 16:38:53 PDT 2025


================
@@ -2986,6 +2987,24 @@ void AddressSanitizer::markEscapedLocalAllocas(Function &F) {
     }
   }
 }
+// Mitigation for https://github.com/google/sanitizers/issues/749
+// We don't instrument Windows catch-block parameters to avoid
+// interfering with exception handling assumptions.
+void AddressSanitizer::markCatchParametersAsUninteresting(Function &F) {
----------------
davidmrdavid wrote:

Since it's been a few weeks, I'll assume there were no major concerns here. I'll resolve this, but please re-open as needed. Thanks!

https://github.com/llvm/llvm-project/pull/159618


More information about the llvm-commits mailing list