MMed Ismail Bennani[lldb/crashlog] Show help when the command is called without any argument
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[lldb/crashlog] Create artificial frames for non-crashed scripted threads This patch pipes down the -a|--load-all crashlog command option to the Scripted Process initializer to load all the images used by crashed process instead of only loading the images related to the crashed thread. This allows us to recreate artificial frames also for the non-crashed scripted threads. rdar://90396265 Differential Revision: https://reviews.llvm.org/D121826 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com> | 4 年前 | |
[lldb] Print message after loading 'crashlog' command Previously, importing crashlog resulted in a message being printed. The message was about other commands (those in heap.py), not crashlog. The changes in D117237 made it so that the heap.py messages were printed only when importing lldb.macosx.heap, not when importing lldb.macosx.crashlog. Some users may see no output and think crashlog wasn't successfully loaded. This ensures users see that crashlog is loaded. rdar://88283132 Differential Revision: https://reviews.llvm.org/D119155 | 4 年前 | |
[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 | 5 年前 | |
[lldb/crashlog] Show help when the command is called without any argument This patch changes the crashlog command behavior to print the help message if no argument was provided with the command. rdar://94576026 Differential Revision: https://reviews.llvm.org/D127362 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com> | 4 年前 | |
[lldb] Print message after loading 'crashlog' command Previously, importing crashlog resulted in a message being printed. The message was about other commands (those in heap.py), not crashlog. The changes in D117237 made it so that the heap.py messages were printed only when importing lldb.macosx.heap, not when importing lldb.macosx.crashlog. Some users may see no output and think crashlog wasn't successfully loaded. This ensures users see that crashlog is loaded. rdar://88283132 Differential Revision: https://reviews.llvm.org/D119155 | 4 年前 | |
[crashlog] Implement parser for JSON encoded crashlogs Add a parser for JSON crashlogs. The CrashLogParser now defers to either the JSONCrashLogParser or the TextCrashLogParser. It first tries to interpret the input as JSON, and if that fails falling back to the textual parser. Differential revision: https://reviews.llvm.org/D91130 | 5 年前 | |
[crashlog] Implement parser for JSON encoded crashlogs Add a parser for JSON crashlogs. The CrashLogParser now defers to either the JSONCrashLogParser or the TextCrashLogParser. It first tries to interpret the input as JSON, and if that fails falling back to the textual parser. Differential revision: https://reviews.llvm.org/D91130 | 5 年前 | |
[lldb] Improve meta data stripping from JSON crashlogs JSON crashlogs normally start with a single line of meta data that we strip unconditionally. Some producers started omitting the meta data which tripped up crashlog. Be more resilient by only removing the first line when we know it really is meta data. rdar://82641662 | 4 年前 | |
[lldb] Disable scripted_crashlog_json.test on Apple Silicon Disable scripted_crashlog_json.test on Apple Silicon until Ismail has bandwidth to investigate. rdar://93655633 | 4 年前 | |
[lldb] Print message after loading 'crashlog' command Previously, importing crashlog resulted in a message being printed. The message was about other commands (those in heap.py), not crashlog. The changes in D117237 made it so that the heap.py messages were printed only when importing lldb.macosx.heap, not when importing lldb.macosx.crashlog. Some users may see no output and think crashlog wasn't successfully loaded. This ensures users see that crashlog is loaded. rdar://88283132 Differential Revision: https://reviews.llvm.org/D119155 | 4 年前 |