diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-12-13 14:25:15 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-12-13 14:25:15 -0800 |
commit | f4a9da659690d175345d17b6dc75e397f0fb0079 (patch) | |
tree | 359c685c51849b3988b690c95f1d7a94e649ff43 | |
parent | dad3b1a6c02a1c48d9ccc1a8bd2ec2f363eb1a40 (diff) |
[𝘀𝗽𝗿] changes introduced through rebaseupstream/users/vitalybuka/spr/main.hwasan-improve-support-of-forking-with-threads
Created using spr 1.3.4
[skip ci]
-rw-r--r-- | compiler-rt/test/sanitizer_common/sanitizer_specific.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/sanitizer_common/sanitizer_specific.h b/compiler-rt/test/sanitizer_common/sanitizer_specific.h index 759236ab61ef..99a4dd98c614 100644 --- a/compiler-rt/test/sanitizer_common/sanitizer_specific.h +++ b/compiler-rt/test/sanitizer_common/sanitizer_specific.h @@ -52,7 +52,7 @@ static void make_mem_bad(void *p, size_t s) { // With misaligned `p` or short granules we can't guarantee tag mismatch. if (__hwasan_test_shadow(p, s) != 0) abort(); - if (s > 1 && __hwasan_test_shadow(((char*)p) + s - 1, 1) != 0) + if (s > 1 && __hwasan_test_shadow(((char *)p) + s - 1, 1) != 0) abort(); } #else |