This is an archive of the discontinued LLVM Phabricator instance.

[Fuchsia] Use thread-pointer ABI slots for stack-protector and safe-stack
ClosedPublic

Authored by mcgrathr on Feb 21 2017, 6:23 PM.

Details

Summary

The Fuchsia ABI defines slots from the thread pointer where the
stack-guard value for stack-protector, and the unsafe stack pointer
for safe-stack, are stored. This parallels the Android ABI support.

Diff Detail

Event Timeline

mcgrathr created this revision.Feb 21 2017, 6:23 PM
eugenis accepted this revision.Feb 23 2017, 1:25 PM

Looks great!
There will be merge conflicts with r296014.

This revision is now accepted and ready to land.Feb 23 2017, 1:25 PM
mcgrathr updated this revision to Diff 89560.Feb 23 2017, 2:01 PM

Rebased, with some manual merging required after r296014.
Also added abi_ssp.ll test cases.

This revision was automatically updated to reflect the committed changes.