glibc/sysdeps/x86/nptl
Adhemerval Zanella 8cd559cf5a nptl: x86_64: Use same code for CURRENT_STACK_FRAME and stackinfo_get_sp
It avoids the possible warning of uninitialized 'frame' variable when
building with clang:

  ../sysdeps/nptl/jmp-unwind.c:27:42: error: variable 'frame' is
  uninitialized when used here [-Werror,-Wuninitialized]
    __pthread_cleanup_upto (env->__jmpbuf, CURRENT_STACK_FRAME);

The resulting code is similar to CURRENT_STACK_FRAME.

Checked on x86_64-linux-gnu.
2022-08-31 09:04:27 -03:00
..
bits Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pthreaddef.h nptl: x86_64: Use same code for CURRENT_STACK_FRAME and stackinfo_get_sp 2022-08-31 09:04:27 -03:00
thread_pointer.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tls-setup.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00