[compiler-rt] r321119 - [hwasan] Remove unused -check-prefix in tests.
Jonathan Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 15:39:12 PST 2017
On 12/19/17 3:48 PM, Evgeniy Stepanov via llvm-commits wrote:
> Author: eugenis
> Date: Tue Dec 19 14:48:46 2017
> New Revision: 321119
>
> URL: http://llvm.org/viewvc/llvm-project?rev=321119&view=rev
> Log:
> [hwasan] Remove unused -check-prefix in tests.
>
> Modified:
> compiler-rt/trunk/test/hwasan/TestCases/halt-on-error.cc
> compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc
>
> Modified: compiler-rt/trunk/test/hwasan/TestCases/halt-on-error.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/halt-on-error.cc?rev=321119&r1=321118&r2=321119&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/hwasan/TestCases/halt-on-error.cc (original)
> +++ compiler-rt/trunk/test/hwasan/TestCases/halt-on-error.cc Tue Dec 19 14:48:46 2017
> @@ -1,4 +1,4 @@
> -// RUN: %clangxx_hwasan -O0 %s -o %t && not %env_hwasan_opts=halt_on_error=0 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
> +// RUN: %clangxx_hwasan -O0 %s -o %t && not %env_hwasan_opts=halt_on_error=0 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
> // REQUIRES: stable-runtime
>
> #include <stdlib.h>
>
> Modified: compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc?rev=321119&r1=321118&r2=321119&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc (original)
> +++ compiler-rt/trunk/test/hwasan/TestCases/use-after-free.cc Tue Dec 19 14:48:46 2017
> @@ -1,7 +1,7 @@
> -// RUN: %clangxx_hwasan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
> -// RUN: %clangxx_hwasan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
> -// RUN: %clangxx_hwasan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
> -// RUN: %clangxx_hwasan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
> +// RUN: %clangxx_hwasan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
> +// RUN: %clangxx_hwasan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
> +// RUN: %clangxx_hwasan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
> +// RUN: %clangxx_hwasan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK
`--check-prefix=CHECK` is the default, so no need to specify even that.
Jon
> // REQUIRES: stable-runtime
>
> #include <stdlib.h>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded / Siemens
More information about the llvm-commits
mailing list