[all-commits] [llvm/llvm-project] ed6edf: [scudo] Change isPowerOfTwo macro to return false ...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Mon Apr 1 13:36:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed6edf262d9061ce3c024754c4981299b5184ee2
https://github.com/llvm/llvm-project/commit/ed6edf262d9061ce3c024754c4981299b5184ee2
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/common.h
M compiler-rt/lib/scudo/standalone/stack_depot.h
M compiler-rt/lib/scudo/standalone/wrappers_c_checks.h
Log Message:
-----------
[scudo] Change isPowerOfTwo macro to return false for zero. (#87120)
Clean-up all of the calls and remove the redundant == 0 checks.
There is only one small visible change. For non-Android, the memalign
function will now fail if alignment is zero. Before this would have
passed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list