This patch allows the crashlog script to surface its errors to lldb by
using the provided SBCommandReturnObject argument.
rdar://95048193
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Paths
| Differential D129614
[lldb/crashlog] Surface error using SBCommandReturnObject argument ClosedPublic Authored by mib on Jul 12 2022, 6:29 PM.
Details Summary This patch allows the crashlog script to surface its errors to lldb by rdar://95048193 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diff Detail
Event Timelinemib added a parent revision: D129611: [lldb/crashlog] Add '-t|--target' option to interactive mode.Jul 12 2022, 6:30 PM
kastiglione added inline comments.
mib added inline comments.
Comment Actions Address @JDevlieghere comments:
Comment Actions lgtm
This revision is now accepted and ready to land.Aug 3 2022, 10:10 AM JDevlieghere added inline comments.
This revision now requires changes to proceed.Aug 3 2022, 11:06 AM mib marked 3 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Aug 3 2022, 4:02 PM Closed by commit rGa07a75180c01: [lldb/crashlog] Surface error using SBCommandReturnObject argument (authored by mib). · Explain WhyAug 9 2022, 9:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 444131 lldb/examples/python/crashlog.py
|
Can we do this with a try-catch + an exception?