Index: src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp =================================================================== --- src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp (revision 83509) +++ src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_linux.cpp (working copy) @@ -143,7 +143,7 @@ if (nr_stack) nr_stack = (nr_stack + 1) & ~1; -#ifndef VBOX_WITH_GCC_SANITIZER +#if !defined(VBOX_WITH_GCC_SANITIZER) && !defined(__clang__) // Load parameters to stack, if necessary PRUint64 *stack = (PRUint64 *) __builtin_alloca(nr_stack * 8); #else @@ -154,7 +154,7 @@ #endif PRUint64 gpregs[GPR_COUNT]; double fpregs[FPR_COUNT]; -#ifndef VBOX_WITH_GCC_SANITIZER +#if !defined(VBOX_WITH_GCC_SANITIZER) && !defined(__clang__) invoke_copy_to_stack(stack, paramCount, params, gpregs, fpregs); #else invoke_copy_to_stack(stack.stack, paramCount, params, gpregs, fpregs); @@ -216,7 +216,7 @@ methodAddress += 8 * methodIndex; methodAddress = *((PRUint64 *)methodAddress); -#ifndef VBOX_WITH_GCC_SANITIZER +#if !defined(VBOX_WITH_GCC_SANITIZER) && !defined(__clang__) typedef PRUint32 (*Method)(PRUint64, PRUint64, PRUint64, PRUint64, PRUint64, PRUint64); PRUint32 result = ((Method)methodAddress)(a0, a1, a2, a3, a4, a5); #else