[all-commits] [llvm/llvm-project] 0a6511: [lldb/crashlog] Create artificial frames for non-c...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Wed Mar 16 15:50:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a65112cf710945fa5cfc0d0be6ff84eba5adb3a
      https://github.com/llvm/llvm-project/commit/0a65112cf710945fa5cfc0d0be6ff84eba5adb3a
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M lldb/examples/python/crashlog.py
    M lldb/examples/python/scripted_process/crashlog_scripted_process.py
    A lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/multithread-test.cc
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/scripted_crashlog.ips
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test

  Log Message:
  -----------
  [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 at gmail.com>




More information about the All-commits mailing list