llvm-capstone/lldb
Med Ismail Bennani 6b26e1dad9 [lldb/crashlog] Refactor CrashLogParser into a Factory pattern
This patch should fix an undefined behaviour that's happening when
parsing a crash report from an IDE. In the previous implementation, the
CrashLogParser base class would use the `__new__` static class method to
create the right parser instance depending on the crash report type.

For some reasons, the derived parser initializer wouldn't be called when
running the command from an IDE, so this patch refactors the
CrashLogParser code to replace the use of the `__new__` method with a
factory `create` static method.

rdar://100527640

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2023-01-12 19:20:51 -08:00
..
bindings [lldb] Add ScriptedPlatform python implementation 2023-01-12 12:49:05 -08:00
cmake [lldb] Remove tools copied into LLDB.framework before install 2023-01-10 11:22:47 -08:00
docs [lldb] Add lldb-server targets to build docs 2023-01-12 12:34:58 +00:00
examples [lldb/crashlog] Refactor CrashLogParser into a Factory pattern 2023-01-12 19:20:51 -08:00
include/lldb [lldb/Interpreter] Introduce ScriptedPlatform{,Python}Interface 2023-01-12 12:49:05 -08:00
packages/Python/lldbsuite Report which modules have forcefully completed types in statistics. 2022-11-30 21:22:27 -08:00
resources
scripts
source [LLDB][LoongArch] Add unittests for EmulateInstructionLoongArch 2023-01-13 10:17:55 +08:00
test [lldb/test] Disable TestScriptedProcess.py on linux while investigating the issue 2023-01-12 14:11:36 -08:00
third_party/Python/module [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
tools [OptTable] Precompute OptTable prefixes union table through tablegen 2023-01-12 12:08:06 +01:00
unittests [LLDB][LoongArch] Add unittests for EmulateInstructionLoongArch 2023-01-13 10:17:55 +08:00
utils [lldb] [utils] Fix linking lit-cpuid to LLVM dylib 2022-12-26 19:03:25 +01:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt [CMake] Warn when the version is older than 3.20.0. 2022-12-11 20:19:46 +01:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py