Introduce new @llvm.get.dynamic.area.offset.i{32, 64} intrinsics.

Description

Introduce new @llvm.get.dynamic.area.offset.i{32, 64} intrinsics.

The @llvm.get.dynamic.area.offset.* intrinsic family is used to get the offset
from native stack pointer to the address of the most recent dynamic alloca on
the caller's stack. These intrinsics are intendend for use in combination with
@llvm.stacksave and @llvm.restore to get a pointer to the most recent dynamic
alloca. This is useful, for example, for AddressSanitizer's stack unpoisoning
routines.

Patch by Max Ostapenko.

Differential Revision: http://reviews.llvm.org/D14983

Details

Committed
ygribovDec 1 2015, 3:40 AM
Differential Revision
D14983: Introduce new @llvm.getdynamicareaoffset.i{32, 64} intrinsic.
Parents
rL254403: Fix race during process interruption
Branches
Unknown
Tags
Unknown