[all-commits] [llvm/llvm-project] dc275f: [lldb/crashlog] Fix JSON ObjectFile module loading...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Fri Apr 28 12:51:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc275fd03254d67d29cc70a5a0569acf24d2280d
      https://github.com/llvm/llvm-project/commit/dc275fd03254d67d29cc70a5a0569acf24d2280d
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M lldb/examples/python/symbolication.py

  Log Message:
  -----------
  [lldb/crashlog] Fix JSON ObjectFile module loading issue

In 27f27d15f6c9, we added a new way to use textual (JSON) object files
and symbol files with the interactive crashlog command, using the
inlined symbols from the crash report.

However, there was a missing piece after successfully adding the textual
module to the target, we didn't mark it as available causing the module
loading to exit early.

This patch addresses that issue by marking the module as available when
added successfully to the target.

Differential Revision: https://reviews.llvm.org/D149477

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>




More information about the All-commits mailing list