summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/u_debug_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/util/u_debug_stack.c')
-rw-r--r--lib/mesa/src/util/u_debug_stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/util/u_debug_stack.c b/lib/mesa/src/util/u_debug_stack.c
index 01f69e144..8ad6d9f3b 100644
--- a/lib/mesa/src/util/u_debug_stack.c
+++ b/lib/mesa/src/util/u_debug_stack.c
@@ -250,6 +250,7 @@ debug_backtrace_capture(struct debug_stack_frame *backtrace,
}
#endif
+#ifdef PIPE_ARCH_X86
#if defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION > 404) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wframe-address"
@@ -264,7 +265,6 @@ debug_backtrace_capture(struct debug_stack_frame *backtrace,
frame_pointer = NULL;
#endif
-#ifdef PIPE_ARCH_X86
while (nr_frames) {
const void **next_frame_pointer;