[all-commits] [llvm/llvm-project] e1cad1: [lldb] Support Rosetta registers in crashlog.py
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Jan 31 10:51:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1cad1303bf9d2a77546469dc0987502692f80d9
https://github.com/llvm/llvm-project/commit/e1cad1303bf9d2a77546469dc0987502692f80d9
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/a.out.ips
M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/json.test
Log Message:
-----------
[lldb] Support Rosetta registers in crashlog.py
Rosetta crashlogs can have their own thread register state. Unlike the
other registers which ware directly listed under "threadState", the
Rosetta registers are nested under their own key in the JSON, as
illustrated below:
{
"threadState":
{
"rosetta":
{
"tmp2":
{
"value": 4935057216
},
"tmp1":
{
"value": 4365863188
},
"tmp0":
{
"value": 18446744073709551615
}
}
}
}
More information about the All-commits
mailing list