HomePhabricator

Add a "probe-stack" attribute

Description

Add a "probe-stack" attribute

This attribute is used to ensure the guard page is triggered on stack
overflow. Stack frames larger than the guard page size will generate
a call to __probestack to touch each page so the guard page won't
be skipped.

Reviewed By: majnemer

Differential Revision: https://reviews.llvm.org/D34386

Details

Committed
whitequarkJun 21 2017, 11:46 AM
Reviewer
majnemer
Differential Revision
D34386: [PATCH 1/2] Add a "probe-stack" attribute (revised)
Parents
rL305938: [BasicAA] Use MayAlias instead of PartialAlias for fallback.
Branches
Unknown
Tags
Unknown