aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-24 13:57:49 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-24 13:57:49 +0000
commitaef3b5b5e2d8bcb321832859464ff11100811609 (patch)
tree9d92031439572df7c0aa1f07b95d2f6b22345b4f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent7eedee938f839680aad4fcb831bd0c77b7025f76 (diff)
downloadllvm-aef3b5b5e2d8bcb321832859464ff11100811609.zip
llvm-aef3b5b5e2d8bcb321832859464ff11100811609.tar.gz
llvm-aef3b5b5e2d8bcb321832859464ff11100811609.tar.bz2
[SystemZ] [SSP] Add support for LOAD_STACK_GUARD.
This fixes PR22248 on s390x. The previous attempt at this was D19101, which was before LOAD_STACK_GUARD existed. Compared to the previous version, this always emits a rather ugly block of 4 instructions, involving a thread pointer load that can't be shared with other potential users. However, this is necessary for SSP - spilling the guard value (or thread pointer used to load it) is counter to the goal, since it could be overwritten along with the frame it protects. Differential Revision: http://reviews.llvm.org/D19363 llvm-svn: 267340
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions