This is an archive of the discontinued LLVM Phabricator instance.

[Android] Default to -fno-math-errno
ClosedPublic

Authored by pirama on Aug 21 2018, 3:30 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

pirama created this revision.Aug 21 2018, 3:30 PM
pirama added inline comments.Aug 21 2018, 3:32 PM
lib/Driver/ToolChains/Linux.cpp
913 ↗(On Diff #161834)

I tried to be defensive here in case the default changes in the future. I can simplify to just return true here if that'd be simpler.

srhines accepted this revision.Aug 21 2018, 5:28 PM
srhines added inline comments.
lib/Driver/ToolChains/Linux.cpp
913 ↗(On Diff #161834)

I agree with this, since this matches the present behavior.

This revision is now accepted and ready to land.Aug 21 2018, 5:28 PM
This revision was automatically updated to reflect the committed changes.