================
@@ -0,0 +1,77 @@
+// Check that -fsanitize=signed-integer-wrap instruments with -fwrapv
+// RUN: %clang_cc1 -fwrapv -triple x86_64-apple-darwin -emit-llvm -o - %s 
-fsanitize=signed-integer-wrap | FileCheck %s --check-prefix=CHECK
----------------
nickdesaulniers wrote:

If there is nothing or not much in common, then two distinct `--check-prefix=` 
(singular) is the way to go.  Avoid using `CHECK` as the single 
`--check-prefix` though, since that clashes with the implicit default.  i.e. 
prefer:
```
RUN: ... --check-prefix=CHECK-FOO
RUN: ... --check-prefix=CHECK-BAR
```
to:
```
RUN: ... --check-prefix=CHECK
RUN: ... --check-prefix=CHECK-BAR
```

https://github.com/llvm/llvm-project/pull/80089
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to