[compiler-rt] 91e194d - [GWP-ASan] [NFC] Change enum from ANDROID->BIONIC.
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 16:07:19 PST 2020
Author: Mitch Phillips
Date: 2020-02-12T16:06:59-08:00
New Revision: 91e194d1ff8d6954644774315ffa2fa9e2f62aec
URL: https://github.com/llvm/llvm-project/commit/91e194d1ff8d6954644774315ffa2fa9e2f62aec
DIFF: https://github.com/llvm/llvm-project/commit/91e194d1ff8d6954644774315ffa2fa9e2f62aec.diff
LOG: [GWP-ASan] [NFC] Change enum from ANDROID->BIONIC.
Added:
Modified:
compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp b/compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
index 2e7403458af5..45b19397b1a3 100644
--- a/compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
+++ b/compiler-rt/lib/gwp_asan/platform_specific/utilities_posix.cpp
@@ -62,7 +62,7 @@ static size_t alignPowerOfTwo(size_t RealAllocationSize) {
#ifdef __BIONIC__
static constexpr AlignmentStrategy PlatformDefaultAlignment =
- AlignmentStrategy::ANDROID;
+ AlignmentStrategy::BIONIC;
#else // __BIONIC__
static constexpr AlignmentStrategy PlatformDefaultAlignment =
AlignmentStrategy::POWER_OF_TWO;
More information about the llvm-commits
mailing list