[all-commits] [llvm/llvm-project] b8923c: [lldb/API] Expose Module::IsLoadedInTarget() to SB...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Mon Feb 1 03:16:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8923c002207da449ec462ade468e27a651b1f91
      https://github.com/llvm/llvm-project/commit/b8923c002207da449ec462ade468e27a651b1f91
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M lldb/bindings/interface/SBTarget.i
    M lldb/include/lldb/API/SBTarget.h
    M lldb/source/API/SBTarget.cpp
    M lldb/test/API/python_api/target/TestTargetAPI.py

  Log Message:
  -----------
  [lldb/API] Expose Module::IsLoadedInTarget() to SB API (NFC)

This patch adds an `SBTarget::IsLoaded(const SBModule&) const` endpoint
to lldb's Scripting Bridge API. As the name suggests, it will allow the
user to know if the module is loaded in a specific target.

rdar://37957625

Differential Review: https://reviews.llvm.org/D95686

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list