diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -521,6 +521,15 @@ def parse_thread_registers(self, json_thread_state): registers = dict() + + if json_thread_state['flavor'] == "ARM_THREAD_STATE64": + for idx, state in enumerate(json_thread_state['x']): + try: + value = int(state['value']) + registers['x' + str(idx)] = value + except (TypeError, ValueError): + pass + for key, state in json_thread_state.items(): try: value = int(state['value'])