[all-commits] [llvm/llvm-project] 71fbd6: Exit unwinding early when at the top of the stack ...

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Thu Apr 2 10:52:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 71fbd6e40632f437049215904c28ad9d63cff4bc
      https://github.com/llvm/llvm-project/commit/71fbd6e40632f437049215904c28ad9d63cff4bc
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  Exit unwinding early when at the top of the stack and additional info won't be found.

Summary:
This patch follows libgcc's lead: When the return-address register is
zero, there won't be additional stack frames to examine, or gather
information about. Exit before spending time looking for something
known not to be found.

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list