]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix unwind info for some trivial functions
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 17 Dec 2019 08:05:32 +0000 (09:05 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Wed, 18 Dec 2019 13:26:50 +0000 (14:26 +0100)
commit8913378a552e470c66277c47b19699f20b84aa3b
tree7e6023201868562a14d67447bd886e58b7d7dd19
parentf64f26220442db3c6913188e6014e5bc5bc34653
Fix unwind info for some trivial functions

While stack unwinding works with gdb here, the
function _Unwind_Backtrace gives up when something outside
.cfi_startproc/.cfi_endproc is found in the call stack, like
OPENSSL_cleanse, OPENSSL_atomic_add, OPENSSL_rdtsc, CRYPTO_memcmp
and other trivial functions which don't save anything in the stack.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/10635)
crypto/x86_64cpuid.pl