[all-commits] [llvm/llvm-project] eefda1: [lldb/Plugins] Move SBTarget::GetExtendedCrashInfo...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Mon Feb 24 14:37:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eefda18227a2faeacbd5420cb482fa8b5836283b
      https://github.com/llvm/llvm-project/commit/eefda18227a2faeacbd5420cb482fa8b5836283b
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M lldb/bindings/interface/SBProcess.i
    M lldb/bindings/interface/SBTarget.i
    M lldb/include/lldb/API/SBProcess.h
    M lldb/include/lldb/API/SBStructuredData.h
    M lldb/include/lldb/API/SBTarget.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
    M lldb/test/API/functionalities/process_crash_info/main.c

  Log Message:
  -----------
  [lldb/Plugins] Move SBTarget::GetExtendedCrashInformation to SBProcess

This patch moves the SB API method GetExtendedCrashInformation from
SBTarget to SBProcess since it only makes sense to call this method on a
sane process which might not be the case on a SBTarget object.

It also addresses some feedbacks received after landing the first patch
for the 'crash-info' feature.

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

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list