[compiler-rt] a9ea0a6 - Fix for failing test mentioned in https://reviews.llvm.org/D103564.

Leonard Chan via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 12:38:15 PDT 2021


Author: Leonard Chan
Date: 2021-06-08T12:38:01-07:00
New Revision: a9ea0a6a77b30305bfbe1b06c30bf6136f64c1ad

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

LOG: Fix for failing test mentioned in https://reviews.llvm.org/D103564.

This updates the path shown in the stack trace.

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/use-after-free.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/use-after-free.c b/compiler-rt/test/hwasan/TestCases/use-after-free.c
index 05ea7f4d7137..ed4512387cc8 100644
--- a/compiler-rt/test/hwasan/TestCases/use-after-free.c
+++ b/compiler-rt/test/hwasan/TestCases/use-after-free.c
@@ -27,11 +27,11 @@ int main() {
   // CHECK: is located 5 bytes inside of 10-byte region
   //
   // CHECK: freed by thread {{.*}} here:
-  // CHECK: #0 {{.*}} in {{.*}}free{{.*}} {{.*}}hwasan_interceptors.cpp
+  // CHECK: #0 {{.*}} in {{.*}}free{{.*}} {{.*}}hwasan_allocation_functions.cpp
   // CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-14]]
 
   // CHECK: previously allocated here:
-  // CHECK: #0 {{.*}} in {{.*}}malloc{{.*}} {{.*}}hwasan_interceptors.cpp
+  // CHECK: #0 {{.*}} in {{.*}}malloc{{.*}} {{.*}}hwasan_allocation_functions.cpp
   // CHECK: #1 {{.*}} in main {{.*}}use-after-free.c:[[@LINE-19]]
   // CHECK: Memory tags around the buggy address (one tag corresponds to 16 bytes):
   // CHECK: =>{{.*}}[[MEM_TAG]]


        


More information about the llvm-commits mailing list