[compiler-rt] 4b398ec - [HWASAN] Fix decorate_proc_maps to work with HWASAN
Kirill Stoimenov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 23 13:30:21 PDT 2023
Author: Kirill Stoimenov
Date: 2023-03-23T20:29:50Z
New Revision: 4b398ec456cdba142251918267c605d49ca7c6ef
URL: https://github.com/llvm/llvm-project/commit/4b398ec456cdba142251918267c605d49ca7c6ef
DIFF: https://github.com/llvm/llvm-project/commit/4b398ec456cdba142251918267c605d49ca7c6ef.diff
LOG: [HWASAN] Fix decorate_proc_maps to work with HWASAN
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
index 60f32c2d83dbf..d0400afe743b3 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/decorate_proc_maps.cpp
@@ -49,6 +49,10 @@ int main(void) {
// CHECK-asan: ---p {{.*}} [shadow gap]
// CHECK-asan: rw-p {{.*}} [high shadow]
+// CHECK-hwasan: rw-p {{.*}} [low shadow]
+// CHECK-hwasan: ---p {{.*}} [shadow gap]
+// CHECK-hwasan: rw-p {{.*}} [high shadow]
+
// CHECK-msan: ---p {{.*}} [invalid]
// CHECK-msan: rw-p {{.*}} [shadow{{.*}}]
// CHECK-msan: ---p {{.*}} [origin{{.*}}]
More information about the llvm-commits
mailing list