CVSROOT:        /cvs
Module name:    xenocara
Changes by:     [email protected]    2020/07/31 21:51:31

Modified files:
        lib/mesa/src/gallium/auxiliary/util: u_debug_stack.c 

Log message:
Fix Mesa build with clang 10 on mips64.

On mips64, the compiler does not allow use of non-zero argument with
__builtin_frame_address(). However, the returned frame address is only
used when PIPE_ARCH_X86 is defined. The compile error can be avoided
by making #ifdef PIPE_ARCH_X86 cover the getting of frame address too.

The argument checking of __builtin_frame_address() has been present
as a debug assert in clang 8. In clang 10, there is a proper runtime
check for the argument. This is why the build has not failed before.

OK jsg@

Reply via email to