diff options
| author | Alex Shlyapnikov <alekseys@google.com> | 2018-03-27 16:04:40 +0000 |
|---|---|---|
| committer | Alex Shlyapnikov <alekseys@google.com> | 2018-03-27 16:04:40 +0000 |
| commit | b66b8fd0f2355773379f20ae29593be167aec227 (patch) | |
| tree | da224ada0a101d0a06ea43c340f59a4c761deda2 /compiler-rt/test | |
| parent | 9ecb4011cabed347b4d96431a42dc6ea0641f50b (diff) | |
| download | bcm5719-llvm-b66b8fd0f2355773379f20ae29593be167aec227.tar.gz bcm5719-llvm-b66b8fd0f2355773379f20ae29593be167aec227.zip | |
[HWASan] Relax use-after-free.cc test matching rules.
Relax use-after-free.cc test matching rules to cover more malloc/free
interceptor names variations.
Differential Revision: https://reviews.llvm.org/D44705
llvm-svn: 328630
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/hwasan/TestCases/use-after-free.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/hwasan/TestCases/use-after-free.cc b/compiler-rt/test/hwasan/TestCases/use-after-free.cc index 5df3bfcd54c..6b9cf5a52c2 100644 --- a/compiler-rt/test/hwasan/TestCases/use-after-free.cc +++ b/compiler-rt/test/hwasan/TestCases/use-after-free.cc @@ -28,11 +28,11 @@ int main() { // STORE: #0 {{.*}} in main {{.*}}use-after-free.cc:19 // CHECK: freed here: - // CHECK: #0 {{.*}} in free {{.*}}hwasan_interceptors.cc + // CHECK: #0 {{.*}} in {{.*}}free{{.*}} {{.*}}hwasan_interceptors.cc // CHECK: #1 {{.*}} in main {{.*}}use-after-free.cc:16 // CHECK: previously allocated here: - // CHECK: #0 {{.*}} in {{.*}}malloc {{.*}}hwasan_interceptors.cc + // CHECK: #0 {{.*}} in {{.*}}malloc{{.*}} {{.*}}hwasan_interceptors.cc // CHECK: #1 {{.*}} in main {{.*}}use-after-free.cc:15 // CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in main |

