[all-commits] [llvm/llvm-project] 23bef7: [libunwind] Support for leaf function unwinding.

Dani via All-commits all-commits at lists.llvm.org
Wed Sep 16 14:53:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23bef7ee9923b1262326981960397e8cd95d6923
      https://github.com/llvm/llvm-project/commit/23bef7ee9923b1262326981960397e8cd95d6923
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M libunwind/src/DwarfInstructions.hpp
    M libunwind/src/DwarfParser.hpp
    M libunwind/test/lit.site.cfg.in
    A libunwind/test/signal_unwind.pass.cpp
    A libunwind/test/unwind_leaffunction.pass.cpp

  Log Message:
  -----------
  [libunwind] Support for leaf function unwinding.

Unwinding leaf function is useful in cases when the backtrace finds a
leaf function for example when it caused a signal.
This patch also add the support for the DW_CFA_undefined because it marks
the end of the frames.

Ryan Prichard provided code for the tests.

Reviewed By: #libunwind, mstorsjo

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




More information about the All-commits mailing list