HomePhabricator

Add support for artificial tail call frames

Description

Add support for artificial tail call frames

This patch teaches lldb to detect when there are missing frames in a
backtrace due to a sequence of tail calls, and to fill in the backtrace
with artificial tail call frames when this happens. This is only done
when the execution history can be determined from the call graph and
from the return PC addresses of calls on the stack. Ambiguous sequences
of tail calls (e.g anything involving tail calls and recursion) are
detected and ignored.

Depends on D49887.

Differential Revision: https://reviews.llvm.org/D50478

Details

Committed
vedantkOct 5 2018, 4:23 PM
Differential Revision
D50478: Add support for artificial tail call frames
Parents
rLLDB343899: Relax a data formatter test
Branches
Unknown
Tags
Unknown