[all-commits] [llvm/llvm-project] 77460d: ProcessMinidump: Suppress reporting stop for signa...

Joseph Tremoulet via All-commits all-commits at lists.llvm.org
Fri Oct 18 08:01:07 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 77460d3888c56a6ed8184783388ed109590ee199
      https://github.com/llvm/llvm-project/commit/77460d3888c56a6ed8184783388ed109590ee199
  Author: Joseph Tremoulet <jotrem at microsoft.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
    A lldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64_null_signal.yaml
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp

  Log Message:
  -----------
  ProcessMinidump: Suppress reporting stop for signal '0'

Summary:
The minidump exception stream can report an exception record with
signal 0.  If we try to create a stop reason with signal zero, processing
of the stop event won't find anything, and the debugger will hang.
So, simply early-out of RefreshStateAfterStop in this case.

Also set the UnixSignals object in DoLoadCore as is done for
ProcessElfCore.

Reviewers: labath, clayborg, jfb

Reviewed By: labath, clayborg

Subscribers: dexonsmith, lldb-commits

Tags: #lldb

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

llvm-svn: 375244




More information about the All-commits mailing list