Skip to content

Commit 010557c

Browse files
author
git apple-llvm automerger
committed
Merge commit '3f738a4c55df' from llvm.org/main into next
2 parents fbae659 + 3f738a4 commit 010557c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/asan_abi/asan_abi_shim.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void *__asan_memmove(void *dest, const void *src, uptr n) {
5454

5555
// Functions concerning RTL startup and initialization
5656
void __asan_init(void) {
57-
static_assert(sizeof(uptr) == 8);
57+
static_assert(sizeof(uptr) == 8 || sizeof(uptr) == 4);
5858
static_assert(sizeof(u64) == 8);
5959
static_assert(sizeof(u32) == 4);
6060

0 commit comments

Comments
 (0)