This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Plugins] Move SBTarget::GetExtendedCrashInformation to SBProcess
ClosedPublic

Authored by mib on Feb 24 2020, 7:14 AM.

Details

Summary

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 in D74657.

Diff Detail

Event Timeline

mib created this revision.Feb 24 2020, 7:14 AM
labath accepted this revision.Feb 24 2020, 7:37 AM

This is great now, thanks for bearing with me.

lldb/bindings/interface/SBProcess.i
350

Mentioning the platform just confuses things here IMO. Maybe we can just remove it now?

lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
89

Please run clang-format on this patch. the & should bind to the variable, not the type.

This revision is now accepted and ready to land.Feb 24 2020, 7:37 AM
This revision was automatically updated to reflect the committed changes.
mib marked 2 inline comments as done.