[Lldb-commits] [PATCH] D118261: [lldb/API] Add ability to check if module is reading from memory

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 26 09:14:04 PST 2022


mib created this revision.
mib added reviewers: jingham, JDevlieghere.
mib added a project: LLDB.
mib requested review of this revision.
Herald added a subscriber: lldb-commits.

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

As the name suggests, it tells the user if the module reads are done from
memory or from disk.

rdar://68538278

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118261

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118261.403302.patch
Type: text/x-patch
Size: 4283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220126/b80bd817/attachment.bin>


More information about the lldb-commits mailing list