[compiler-rt] [TEST][hwasan] Check more details in overflow test (PR #67059)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 13:30:57 PDT 2023


================
@@ -1,8 +1,12 @@
 // RUN: %clang_hwasan  %s -o %t
-// RUN: not %run %t 5 10 2>&1 | FileCheck %s --check-prefix=CHECK5
-// RUN: not %run %t 7 10 2>&1 | FileCheck %s --check-prefix=CHECK7
-// RUN: not %run %t 8 20 2>&1 | FileCheck %s --check-prefix=CHECK8
-// RUN: not %run %t 32 20 2>&1 | FileCheck %s --check-prefix=CHECK32
+// RUN: not %run %t 5 10 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK_SMALL,CHECK5
----------------
fmayer wrote:

I would slightly prefer if all of these explicitly passed  all parameters.

Maybe also align the parameters to columns so it's easier to  see?

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


More information about the llvm-commits mailing list