Page MenuHomePhabricator

[libc] Make FPBits a union.
ClosedPublic

Authored by sivachandra on Apr 12 2021, 9:19 PM.

Details

Summary

This helps us avoid the uncomfortable reinterpret-casts. Avoiding the
reinterpret casts prevents us from tripping the sanitizers as well.

Diff Detail

Event Timeline

sivachandra created this revision.Apr 12 2021, 9:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 12 2021, 9:19 PM
sivachandra requested review of this revision.Apr 12 2021, 9:19 PM
lntue accepted this revision.Apr 13 2021, 6:24 AM
This revision is now accepted and ready to land.Apr 13 2021, 6:24 AM
This revision was landed with ongoing or failed builds.Apr 13 2021, 9:21 AM
This revision was automatically updated to reflect the committed changes.