mirror of
https://github.com/gperftools/gperftools
synced 2025-02-28 01:50:28 +00:00
don't default to generic_fp without frame pointers
I.e. on x86-64 and riscv.
This commit is contained in:
parent
4cf7dd0a75
commit
91ff311449
@ -231,7 +231,9 @@ static bool get_stack_impl_inited;
|
||||
static GetStackImplementation *get_stack_impl = &impl__instrument;
|
||||
#elif defined(HAVE_GST_win32)
|
||||
static GetStackImplementation *get_stack_impl = &impl__win32;
|
||||
#elif defined(HAVE_GST_generic_fp) && (!defined(HAVE_GST_libunwind) || defined(TCMALLOC_DONT_PREFER_LIBUNWIND))
|
||||
#elif defined(HAVE_GST_generic_fp) && !defined(NO_FRAME_POINTER) \
|
||||
&& !defined(__riscv) \
|
||||
&& (!defined(HAVE_GST_libunwind) || defined(TCMALLOC_DONT_PREFER_LIBUNWIND))
|
||||
static GetStackImplementation *get_stack_impl = &impl__generic_fp;
|
||||
#elif defined(HAVE_GST_x86) && defined(TCMALLOC_DONT_PREFER_LIBUNWIND)
|
||||
static GetStackImplementation *get_stack_impl = &impl__x86;
|
||||
|
Loading…
Reference in New Issue
Block a user