This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Default to -fno-addrsig on Android.
ClosedPublic

Authored by danalbert on Jan 8 2019, 2:24 PM.

Diff Detail

Event Timeline

danalbert created this revision.Jan 8 2019, 2:24 PM
srhines accepted this revision.Jan 8 2019, 2:28 PM
This revision is now accepted and ready to land.Jan 8 2019, 2:28 PM
This revision was automatically updated to reflect the committed changes.
thakis added a subscriber: thakis.May 21 2020, 12:01 PM

Do we still need this? I was surprised by clang not using faddrsing on Andriod by default.

The NDK still supports linkers other than LLD, but we are changing the default to LLD in the next release. I'd prefer to keep this for the time being, but don't feel strongly about it.