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:28:49 +0000 (14:28 +0100)
commit7540f7bdc271037267e08006ec32bb47a1ea427a
treecb7239505260f2138ef04678f98b1c5967c4509e
parentd28ddc65cfb6fc66f916d095ea74dd9c2e5679ba
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)

(cherry picked from commit 8913378a552e470c66277c47b19699f20b84aa3b)
crypto/x86_64cpuid.pl