[all-commits] [llvm/llvm-project] 85c782: [ASan][Test-Only] Allow read of size 2 in strcmp.c...
Dan Blackwell via All-commits
all-commits at lists.llvm.org
Tue Nov 4 03:04:20 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85c78274358717e4d5d019a801decba5c1add484
https://github.com/llvm/llvm-project/commit/85c78274358717e4d5d019a801decba5c1add484
Author: Dan Blackwell <dan_blackwell at apple.com>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M compiler-rt/test/asan/TestCases/strcmp.c
Log Message:
-----------
[ASan][Test-Only] Allow read of size 2 in strcmp.c test (#166179)
Occasionally this test fails on Darwin due to `CHECK: READ of size 1`
not matching the actual output `CHECK: READ of size 2`. This can happen
when the memory before the string `s1` happens to match the first
character of `s2`.
This patch allows for `READ of size 2` to pass in order to account for
the above circumstances.
rdar://151317947
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list