Page MenuHomePhabricator

[msan] Guard FP_XSTATE_MAGIC1 usage with SANITIZER_GLIBC
ClosedPublic

Authored by MaskRay on Feb 3 2022, 10:51 PM.

Details

Summary

Fix build for Linux musl.

Diff Detail

Event Timeline

MaskRay requested review of this revision.Feb 3 2022, 10:51 PM
MaskRay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 3 2022, 10:51 PM
dvyukov accepted this revision.Feb 4 2022, 1:14 AM
dvyukov added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
220

SANITIZER_GLIBC implies LINUX, right?

This revision is now accepted and ready to land.Feb 4 2022, 1:14 AM
This revision was automatically updated to reflect the committed changes.
MaskRay marked an inline comment as done.Feb 4 2022, 11:30 AM
MaskRay added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
220

Yes. We don't support GNU Hurd.