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

Dani via All-commits all-commits at lists.llvm.org
Fri Sep 18 06:12:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 22b615a96593f13109a27cabfd1764ec4f558c7a
      https://github.com/llvm/llvm-project/commit/22b615a96593f13109a27cabfd1764ec4f558c7a
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2020-09-18 (Fri, 18 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

Reland with limit the test to the x86_64-linux target.




More information about the All-commits mailing list