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
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Paths
| Differential D118261
[lldb/API] Add ability to check if module is backed by a file on disk ClosedPublic Authored by mib on Jan 26 2022, 9:14 AM.
Details Summary This patch introduces a new SBAPI method: SBModule::IsFileBacked As the name suggests, it tells the user if the module's object file is rdar://68538278 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 26 2022, 11:02 AM mib retitled this revision from [lldb/API] Add ability to check if module is reading from memory to [lldb/API] Add ability to check if module is backed by a file on disk. Comment ActionsAs discussed with @jingham offline, it's less ambiguous to rename this to IsFileBacked since it's not the module that does the reading. Closed by commit rGff52ef334beb: [lldb/API] Add ability to check if module is backed by a file on disk (authored by mib). · Explain WhyJan 26 2022, 11:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 403356 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
|