[compiler-rt] bb7f8f7 - [test][hwasan] Update another test after #76133

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 21:47:18 PST 2023


Author: Vitaly Buka
Date: 2023-12-21T21:47:06-08:00
New Revision: bb7f8f7938bf486ce67e824c94e9c87767694710

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

LOG: [test][hwasan] Update another test after #76133

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/stack-uas.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/stack-uas.c b/compiler-rt/test/hwasan/TestCases/stack-uas.c
index d38eedb87fc263..53a7054c1c435f 100644
--- a/compiler-rt/test/hwasan/TestCases/stack-uas.c
+++ b/compiler-rt/test/hwasan/TestCases/stack-uas.c
@@ -69,6 +69,8 @@ int main() {
   // CHECK: Cause: stack tag-mismatch
   // CHECK: is located in stack of thread
   // CHECK: Potentially referenced stack objects:
+  // CHECK: Cause: use-after-scope
+  // CHECK-NEXT: 0x{{.*}} is located 0 bytes inside a 2048-byte region
   // CHECK-NEXT: {{zzz|yyy}} in buggy {{.*}}stack-uas.c:
   // CHECK: Memory tags around the buggy address
 


        


More information about the llvm-commits mailing list