[lldb] Parse the crashlog only once
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 12 Apr 2023 00:03:49 +0000 (17:03 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 12 Apr 2023 00:05:15 +0000 (17:05 -0700)
commit88f409194d5ac84eb19ee91260a17c6c8b992eda
tree888c9ece2dee40bfefe82c471908130462fffdd7
parent9d701c8a8d65a830c3d454479b13a50dcc097b57
[lldb] Parse the crashlog only once

Now that we can pass Python objects to the scripted process instance, we
don't need to parse the crashlog twice anymore.

Differential revision: https://reviews.llvm.org/D148063
lldb/examples/python/crashlog.py
lldb/examples/python/scripted_process/crashlog_scripted_process.py
lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
lldb/source/Plugins/Process/scripted/ScriptedProcess.h