diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-05-30 06:02:32 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-05-30 06:02:32 +0000 |
commit | ac8256fce6354cda00f3137451bfbfaae00de430 (patch) | |
tree | b8d6cc6dff41402b198ddcaf1debc85fb7aa38c3 /test/CodeGen/decl.c | |
parent | 1de54aa957aedf26f386bafb4569c506b74824fe (diff) |
Merging r330331:
------------------------------------------------------------------------
r330331 | erichkeane | 2018-04-19 07:27:05 -0700 (Thu, 19 Apr 2018) | 14 lines
Fix __attribute__((force_align_arg_pointer)) misalignment bug
The force_align_arg_pointer attribute was using a hardcoded 16-byte
alignment value which in combination with -mstack-alignment=32 (or
larger) would produce a misaligned stack which could result in crashes
when accessing stack buffers using aligned AVX load/store instructions.
Fix the issue by using the "stackrealign" function attribute instead
of using a hardcoded 16-byte alignment.
Patch By: Gramner
Differential Revision: https://reviews.llvm.org/D45812
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@333511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/decl.c')
0 files changed, 0 insertions, 0 deletions