[compiler-rt] c1f008e - [HWASan] fix broken test

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 10:54:46 PDT 2023


Author: Florian Mayer
Date: 2023-07-26T10:54:28-07:00
New Revision: c1f008e2e5acfecdeb4bead5b685df52819c09fd

URL: https://github.com/llvm/llvm-project/commit/c1f008e2e5acfecdeb4bead5b685df52819c09fd
DIFF: https://github.com/llvm/llvm-project/commit/c1f008e2e5acfecdeb4bead5b685df52819c09fd.diff

LOG: [HWASan] fix broken test

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/use-after-scope.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/use-after-scope.cpp b/compiler-rt/test/hwasan/TestCases/use-after-scope.cpp
index 0d4736642ef093..ef7849b2f3b775 100644
--- a/compiler-rt/test/hwasan/TestCases/use-after-scope.cpp
+++ b/compiler-rt/test/hwasan/TestCases/use-after-scope.cpp
@@ -1,6 +1,6 @@
 // This is the ASAN test of the same name ported to HWAsan.
 
-// RUN: %clangxx_hwasan -O1 %s -o %t \
+// RUN: %clangxx_hwasan -O1 %s -o %t && \
 // RUN:     not %run %t 2>&1 | FileCheck %s
 
 // REQUIRES: aarch64-target-arch || riscv64-target-arch


        


More information about the llvm-commits mailing list