HomePhabricator

[compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in…

Authored by MaskRay on Oct 12 2020, 9:57 AM.

Description

[compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc

Noticed by Peter Foley.
In glibc, ::write is declared as attribute((warn_unused_result)) when __USE_FORTIFY_LEVEL is larger than 0.

Details

Committed
MaskRayOct 12 2020, 9:57 AM
Parents
rG17cec6a11a12: Revert 1c021c64c "[SCEV] Model ptrtoint(SCEVUnknown) cast not as unknown, but…
Branches
Unknown
Tags
Unknown