]> granicus.if.org Git - clang/commit
SafeStack: Add builtins to read unsafe stack top/bottom
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Fri, 13 Jul 2018 19:48:35 +0000 (19:48 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Fri, 13 Jul 2018 19:48:35 +0000 (19:48 +0000)
commit916476d8b9a8d80bc47bd5382764e270d1293fc1
treef977284e860cee09883141f7a99d42edaa286b3c
parent12e2fde436d38782477f681dbf3fc83b8095e188
SafeStack: Add builtins to read unsafe stack top/bottom

Summary:
Introduce built-ins to read the unsafe stack top and bottom. The unsafe
stack top is required to implement garbage collection scanning for
Oilpan. Currently there is already a built-in 'get_unsafe_stack_start'
to read the bottom of the unsafe stack, but I chose to duplicate this
API because 'start' is ambiguous (e.g. Oilpan uses WTF::GetStackStart to
read the safe stack top.)

Reviewers: pcc

Reviewed By: pcc

Subscribers: llvm-commits, kcc

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337037 91177308-0d34-0410-b5e6-96231b3b80d8
docs/SafeStack.rst
include/clang/Basic/Builtins.def