[crashlog] Move crash log parsing into its own class
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 3 Nov 2020 04:29:32 +0000 (20:29 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 3 Nov 2020 17:04:35 +0000 (09:04 -0800)
commit4b846820445ef33a099a19b5df983ed2f9d6e067
tree872693b1a3c43009d61af074db8aa647116bd574
parentaf9bf14e6b08974cb5f80f12a52ece3b3fe0445c
[crashlog] Move crash log parsing into its own class

Move crash log parsing out of the CrashLog class and into its own class
and add more tests.

Differential revision: https://reviews.llvm.org/D90664
lldb/examples/python/crashlog.py
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/crashlog.test [moved from lldb/test/Shell/ScriptInterpreter/Python/crashlog.test with 91% similarity]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/interactive.test [new file with mode: 0644]
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg [new file with mode: 0644]