1 //===-- SWIG Interface for SBModule -----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
18 SBModuleSpec (const lldb::SBModuleSpec &rhs);
28 //------------------------------------------------------------------
29 /// Get const accessor for the module file.
31 /// This function returns the file for the module on the host system
32 /// that is running LLDB. This can differ from the path on the
33 /// platform since we might be doing remote debugging.
36 /// A const reference to the file specification object.
37 //------------------------------------------------------------------
42 SetFileSpec (const lldb::SBFileSpec &fspec);
44 //------------------------------------------------------------------
45 /// Get accessor for the module platform file.
47 /// Platform file refers to the path of the module as it is known on
48 /// the remote system on which it is being debugged. For local
49 /// debugging this is always the same as Module::GetFileSpec(). But
50 /// remote debugging might mention a file '/usr/lib/liba.dylib'
51 /// which might be locally downloaded and cached. In this case the
52 /// platform file could be something like:
53 /// '/tmp/lldb/platform-cache/remote.host.computer/usr/lib/liba.dylib'
54 /// The file could also be cached in a local developer kit directory.
57 /// A const reference to the file specification object.
58 //------------------------------------------------------------------
60 GetPlatformFileSpec ();
63 SetPlatformFileSpec (const lldb::SBFileSpec &fspec);
69 SetSymbolFileSpec (const lldb::SBFileSpec &fspec);
75 SetObjectName (const char *name);
81 SetTriple (const char *triple);
90 SetUUIDBytes (const uint8_t *uuid, size_t uuid_len);
93 GetDescription (lldb::SBStream &description);
98 class SBModuleSpecList
103 SBModuleSpecList (const SBModuleSpecList &rhs);
107 static SBModuleSpecList
108 GetModuleSpecifications (const char *path);
111 Append (const lldb::SBModuleSpec &spec);
114 Append (const lldb::SBModuleSpecList &spec_list);
117 FindFirstMatchingSpec (const lldb::SBModuleSpec &match_spec);
119 lldb::SBModuleSpecList
120 FindMatchingSpecs (const lldb::SBModuleSpec &match_spec);
126 GetSpecAtIndex (size_t i);
129 GetDescription (lldb::SBStream &description);