aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2019-09-30 15:11:23 +0000
committerPaul Robinson <paul.robinson@sony.com>2019-09-30 15:11:23 +0000
commited1f3f36aeeef5e61ecf2b41363e37c53eda61a2 (patch)
tree9b8cf9fe45ba91221ff5c550cfbb6519dcce468e /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent527815f5b087be6b31d0cb21752c581d26769c8a (diff)
downloadllvm-ed1f3f36aeeef5e61ecf2b41363e37c53eda61a2.zip
llvm-ed1f3f36aeeef5e61ecf2b41363e37c53eda61a2.tar.gz
llvm-ed1f3f36aeeef5e61ecf2b41363e37c53eda61a2.tar.bz2
[SSP] [3/3] cmpxchg and addrspacecast instructions can now
trigger stack protectors. Fixes PR42238. Add test coverage for llvm.memset, as proxy for all llvm.mem* intrinsics. There are two issues here: (1) they could be lowered to a libc call, which could be intercepted, and do Bad Stuff; (2) with a non-constant size, they could overwrite the current stack frame. The test was mostly written by Matt Arsenault in r363169, which was later reverted; I tweaked what he had and added the llvm.memset part. Differential Revision: https://reviews.llvm.org/D67845 llvm-svn: 373220
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions