Commit 8da2b548 authored by Marius Vlad's avatar Marius Vlad

lib/igt_core: Wrap print_backtrace_sig_safe() with HAVE_LIBUNWIND.

Reported-by: Petri Latvala's avatarPetri Latvala <petri.latvala@intel.com>
Signed-off-by: 's avatarMarius Vlad <marius.c.vlad@intel.com>
parent c1d427b0
......@@ -1746,7 +1746,9 @@ static void fatal_sig_handler(int sig)
igt_exitcode = 128 + sig;
failed_one = true;
#ifdef HAVE_LIBUNWIND
print_backtrace_sig_safe();
#endif
exit_subtest("CRASH");
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment