[all-commits] [llvm/llvm-project] ff52ef: [lldb/API] Add ability to check if module is backe...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Wed Jan 26 11:42:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff52ef334beb20a90bdb438419000dce4aacba9d
      https://github.com/llvm/llvm-project/commit/ff52ef334beb20a90bdb438419000dce4aacba9d
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

  Changed paths:
    M lldb/bindings/interface/SBModule.i
    M lldb/include/lldb/API/SBModule.h
    M lldb/source/API/SBModule.cpp
    A lldb/test/API/python_api/sbmodule/Makefile
    A lldb/test/API/python_api/sbmodule/TestSBModule.py
    A lldb/test/API/python_api/sbmodule/main.c

  Log Message:
  -----------
  [lldb/API] Add ability to check if module is backed by a file on disk

This patch introduces a new SBAPI method: `SBModule::IsFileBacked`

As the name suggests, it tells the user if the module's object file is
on disk or in memory.

rdar://68538278

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

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




More information about the All-commits mailing list