[compiler-rt] [compiler-rt] fix __sanitizer::struct_sock_fprog_sz availability (PR #118762)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 8 22:15:39 PST 2024


================
@@ -1313,7 +1313,7 @@ INTERCEPTOR(int, prctl, int option, unsigned long arg2, unsigned long arg3,
     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, (u64 *)(arg5), sizeof(u64));
   } else if (res != -1 && option == PR_GET_PDEATHSIG) {
     COMMON_INTERCEPTOR_WRITE_RANGE(ctx, (u64 *)(arg2), sizeof(int));
-#  if !SANITIZER_ANDROID
+#  if !SANITIZER_ANDROID && !SANITIZER_MUSL
----------------
vitalybuka wrote:

android can't be GLIBC

https://github.com/llvm/llvm-project/pull/118762


More information about the llvm-commits mailing list