[llvm] [SANITIZER] Make sanitizer passes idempotent. (PR #99439)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 05:48:25 PDT 2024


================
@@ -0,0 +1,56 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals all --version 5
+; This test checks in the second run, function is not instrumented again.
+; RUN: opt < %s -passes=asan,asan -S | FileCheck %s
----------------
nikic wrote:

I'm not sure a generic nosanitize module flag makes sense. Things will break if there are two sanitizers that aren't mutually exclusive and both try to use the flag.

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


More information about the llvm-commits mailing list