aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2020-12-10 18:03:16 -0500
committerJames Y Knight <jyknight@google.com>2020-12-28 18:11:17 -0500
commit4ddf140c00408ecee9d20f4470e69e0f696d8f8a (patch)
tree872d679cfdfc880f27e201fc590af71ec4966f38 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent85af1d6257fac0741002f0144622f05c4ee1632c (diff)
downloadllvm-4ddf140c00408ecee9d20f4470e69e0f696d8f8a.zip
llvm-4ddf140c00408ecee9d20f4470e69e0f696d8f8a.tar.gz
llvm-4ddf140c00408ecee9d20f4470e69e0f696d8f8a.tar.bz2
Fix PR35902: incorrect alignment used for ubsan check.
UBSan was using the complete-object align rather than nv alignment when checking the "this" pointer of a method. Furthermore, CGF.CXXABIThisAlignment was also being set incorrectly, due to an incorrectly negated test. The latter doesn't appear to have had any impact, due to it not really being used anywhere. Differential Revision: https://reviews.llvm.org/D93072
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions