Fix for failing test mentioned in https://reviews.llvm.org/D103564.
authorLeonard Chan <leonardchan@google.com>
Tue, 8 Jun 2021 19:37:04 +0000 (12:37 -0700)
committerLeonard Chan <leonardchan@google.com>
Tue, 8 Jun 2021 19:38:01 +0000 (12:38 -0700)
This updates the path shown in the stack trace.

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

index 05ea7f4..ed45123 100644 (file)
@@ -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]]