SANITIZER_GLIBC is always defined so should be tested with an if not an
ifdef.
Fixes: ad7e2501000d
Differential D159041
[msan] Fix compilation on non-glibc brooks on Aug 28 2023, 5:07 PM. Authored by
Details
SANITIZER_GLIBC is always defined so should be tested with an if not an Fixes: ad7e2501000d
Diff Detail
Event TimelineComment Actions Sorry for the mistake. I tested Linux x86-64, Apple M1, and Windows. FreeBSD supports msan but macOS/Windows don't support it, so the issue was not caught. Comment Actions Sorry, I'll commit this on your behalf to update a backport request: https://github.com/llvm/llvm-project/issues/64388. |