[all-commits] [llvm/llvm-project] 5f2a74: [GWP-ASan] Update alignment on Android.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Wed Feb 12 15:25:47 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5f2a74c87abc4ed926e93e75d1c3178723a47322
https://github.com/llvm/llvm-project/commit/5f2a74c87abc4ed926e93e75d1c3178723a47322
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2020-02-12 (Wed, 12 Feb 2020)
Changed paths:
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
M compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
M compiler-rt/lib/gwp_asan/options.inc
M compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
M compiler-rt/lib/gwp_asan/tests/alignment.cpp
M compiler-rt/lib/gwp_asan/utilities.h
Log Message:
-----------
[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
More information about the All-commits
mailing list