diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2020-02-12 15:24:55 -0800 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2020-02-12 15:24:58 -0800 |
commit | 5f2a74c87abc4ed926e93e75d1c3178723a47322 (patch) | |
tree | 3bf72799895a4896a6894d59b1138839e68742d7 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 369d086d784e0c8cc7add9823f319e95f95dbd81 (diff) | |
download | llvm-5f2a74c87abc4ed926e93e75d1c3178723a47322.zip llvm-5f2a74c87abc4ed926e93e75d1c3178723a47322.tar.gz llvm-5f2a74c87abc4ed926e93e75d1c3178723a47322.tar.bz2 |
[GWP-ASan] Update alignment on Android.
Summary:
Android has different alignment requirements. You can read more about
them here
(https://cs.android.com/android/platform/superproject/+/master:bionic/tests/malloc_test.cpp;l=808),
but the general gist is that for malloc(x <= 8), we do malloc(8), and
for everything else, we do 16-byte alignment.
Reviewers: eugenis, morehouse, cferris
Reviewed By: eugenis, morehouse
Subscribers: #sanitizers, llvm-commits, pcc
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D74364
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions