summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2023-01-12 15:26:49 -0800
committerMed Ismail Bennani <medismail.bennani@gmail.com>2023-01-12 19:20:51 -0800
commit6b26e1dad9608ec188446dcdc0734a7b41cf145b (patch)
treeb0ba2ace421488177f5a36bbcfe84eb6e69dedcd /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parentafb613e9e7b737648ac8ea0d3138d0d498c95553 (diff)
[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>
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions