[compiler-rt] ae0628f - [sanitizer] Fix MAC build after D108163
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 16 15:23:20 PDT 2021
Author: Vitaly Buka
Date: 2021-08-16T15:22:55-07:00
New Revision: ae0628f716cc05ad28adf963538a67e69d58d21d
URL: https://github.com/llvm/llvm-project/commit/ae0628f716cc05ad28adf963538a67e69d58d21d
DIFF: https://github.com/llvm/llvm-project/commit/ae0628f716cc05ad28adf963538a67e69d58d21d.diff
LOG: [sanitizer] Fix MAC build after D108163
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc b/compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc
index e3b664f68b61..c78f944df8b7 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_malloc_mac.inc
@@ -186,7 +186,7 @@ size_t __sanitizer_mz_size(malloc_zone_t* zone, const void* ptr) {
extern "C"
SANITIZER_INTERFACE_ATTRIBUTE
-void *__sanitizer_mz_malloc(malloc_zone_t *zone, uptr size) {
+void *__sanitizer_mz_malloc(malloc_zone_t *zone, size_t size) {
COMMON_MALLOC_ENTER();
COMMON_MALLOC_MALLOC(size);
return p;
More information about the llvm-commits
mailing list