[all-commits] [llvm/llvm-project] 730fca: [lldb] Improve meta data stripping from JSON crash...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Oct 5 12:16:08 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 730fca46fc87dad09040cb0b27ede10ae2c7c9d7
https://github.com/llvm/llvm-project/commit/730fca46fc87dad09040cb0b27ede10ae2c7c9d7
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
Log Message:
-----------
[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
More information about the All-commits
mailing list