summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/libunwind/src/UnwindLevel1-gcc-ext.c
diff options
context:
space:
mode:
authormortimer <mortimer@openbsd.org>2021-01-01 16:43:05 +0000
committermortimer <mortimer@openbsd.org>2021-01-01 16:43:05 +0000
commitd3a95e33d6d8bdc6ac076f4f3cceb472e8e04206 (patch)
tree76a40df163c3831eec2dd441cd7521b96b27dfb7 /gnu/llvm/libunwind/src/UnwindLevel1-gcc-ext.c
parentAdd kstat to ogx(4). (diff)
downloadwireguard-openbsd-d3a95e33d6d8bdc6ac076f4f3cceb472e8e04206.tar.xz
wireguard-openbsd-d3a95e33d6d8bdc6ac076f4f3cceb472e8e04206.zip
Skip leaf function optimization under some circumstances.
On architectures that do not always spill the return address to the stack, it is possible for local stack frame data corruption in leaf functions to span stack frames if the retguard cookie is not spilled in the function. In leaf functions on these architectures, now spill the retguard cookie if the function contains arrays or has variables which have their address taken.
Diffstat (limited to 'gnu/llvm/libunwind/src/UnwindLevel1-gcc-ext.c')
0 files changed, 0 insertions, 0 deletions