Page MenuHomePhabricator

[AArch64] Enable stack clash protection for AArch64 linux in clang
Needs ReviewPublic

Authored by ostannard on Feb 4 2021, 2:31 AM.



This allows the -fstack-clash-protection option to be used for AArch64

Linux for AArch64 uses a 64k stack guard, instead of the 4k guard
assumed by the backend, so we set the stack-probe-size function
attribute to configure this, and the -mstack-probe-size= option can be
used to override this.

Diff Detail