summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/ExecutionDepsFix.cpp
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-07-21 23:13:11 +0000
committermarkj <markj@FreeBSD.org>2015-07-21 23:13:11 +0000
commit0f1eab2023e1ad414373aabc266d58e7ab218c82 (patch)
treeaa9dcbd106a3b8a32ac9872b4de0bd3f519bbc23 /contrib/llvm/lib/CodeGen/ExecutionDepsFix.cpp
parent8cefad6db06b1f448eee68e9585ce57ed9c1eb97 (diff)
downloadFreeBSD-src-0f1eab2023e1ad414373aabc266d58e7ab218c82.zip
FreeBSD-src-0f1eab2023e1ad414373aabc266d58e7ab218c82.tar.gz
Improve stack unwinding on i386 and amd64 after an IP fault.
If we can't find a symbol corresponding to the faulting instruction, assume that the previously-executed function is a call and attempt to find the calling function using the return address on the stack. Otherwise we end up associating the last stack frame with the current call, which is incorrect and causes the unwinder to skip printing of the calling function, resulting in a confusing backtrace. Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D2859
Diffstat (limited to 'contrib/llvm/lib/CodeGen/ExecutionDepsFix.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud