summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBModule.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-07-08 22:22:41 +0000
committerGreg Clayton <gclayton@apple.com>2013-07-08 22:22:41 +0000
commit226cce25116af0f3132941b27492f349f62052a4 (patch)
treeaeee7174537ac09c746b680bcf52cf298ed2a7c0 /lldb/scripts/Python/interface/SBModule.i
parent8bad86c81be924bdfe1814da69dafda8b0237503 (diff)
downloadbcm5719-llvm-226cce25116af0f3132941b27492f349f62052a4.tar.gz
bcm5719-llvm-226cce25116af0f3132941b27492f349f62052a4.zip
Added a way to extract the module specifications from a file. A module specification is information that is required to describe a module (executable, shared library, object file, ect). This information includes host path, platform path (remote path), symbol file path, UUID, object name (for objects in .a files for example you could have an object name of "foo.o"), and target triple. Module specification can be used to create a module, or used to add a module to a target. A list of module specifications can be used to enumerate objects in container objects (like universal mach files and BSD archive files).
There are two new classes: lldb::SBModuleSpec lldb::SBModuleSpecList The SBModuleSpec wraps up a lldb_private::ModuleSpec, and SBModuleSpecList wraps up a lldb_private::ModuleSpecList. llvm-svn: 185877
Diffstat (limited to 'lldb/scripts/Python/interface/SBModule.i')
-rw-r--r--lldb/scripts/Python/interface/SBModule.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i
index aa2571c1090..fdf017754d0 100644
--- a/lldb/scripts/Python/interface/SBModule.i
+++ b/lldb/scripts/Python/interface/SBModule.i
@@ -96,7 +96,9 @@ public:
SBModule ();
- SBModule (const SBModule &rhs);
+ SBModule (const lldb::SBModule &rhs);
+
+ SBModule (const lldb::SBModuleSpec &module_spec);
SBModule (lldb::SBProcess &process,
lldb::addr_t header_addr);
OpenPOWER on IntegriCloud