This is an archive of the discontinued LLVM Phabricator instance.

builtins: Add __probestack support functions for x86
Needs ReviewPublic

Authored by Zoxc on May 19 2015, 12:12 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This adds the __probestack function which is used by the probe-stack attribute in http://reviews.llvm.org/D9654

Diff Detail

Event Timeline

Zoxc updated this revision to Diff 26079.May 19 2015, 12:12 PM
Zoxc retitled this revision from to builtins: Add __probestack support functions for x86.
Zoxc updated this object.
Zoxc edited the test plan for this revision. (Show Details)
Zoxc set the repository for this revision to rL LLVM.
Zoxc added subscribers: majnemer, howard.hinnant.
Zoxc added a subscriber: Unknown Object (MLST).
Zoxc updated this revision to Diff 31606.Aug 8 2015, 8:01 PM
Zoxc removed rL LLVM as the repository for this revision.

This aligns the size argument to 4 and 16 bytes for x86 and x64. The guard region size is passed as a parameter in EBX/RBX.