[PATCH] D49887: [DebugInfo] Add basic support for DWARF5 call site-related attributes

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 09:52:24 PDT 2018


vsk added a comment.

In https://reviews.llvm.org/D49887#1178345, @vsk wrote:

> The algorithm is: do a DFS on the call graph to find a path from one frame to another, and refuse to create synthetic tail call frames if there's more than one path. This has limitations. For example, this algorithm wouldn't be able to complete the backtrace in the example above.


Oops! Sorry. It would be able to complete the backtrace in the example I shared.

If, OTOH, there were a call to 'quux' within 'main', *then* it would fail to complete the backtrace.


https://reviews.llvm.org/D49887





More information about the llvm-commits mailing list