summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/dyn-alloca-offset.ll
AgeCommit message (Collapse)Author
2015-12-01Introduce new @llvm.get.dynamic.area.offset.i{32, 64} intrinsics.Yury Gribov
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254404 91177308-0d34-0410-b5e6-96231b3b80d8