1 //===-- SWIG Interface for SBModule -----------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 SBModuleSpec (const lldb::SBModuleSpec &rhs);
24 explicit operator bool() const;
29 %feature("docstring", "
30 Get const accessor for the module file.
32 This function returns the file for the module on the host system
33 that is running LLDB. This can differ from the path on the
34 platform since we might be doing remote debugging.
37 A const reference to the file specification object.") GetFileSpec;
42 SetFileSpec (const lldb::SBFileSpec &fspec);
44 %feature("docstring", "
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.") GetPlatformFileSpec;
59 GetPlatformFileSpec ();
62 SetPlatformFileSpec (const lldb::SBFileSpec &fspec);
68 SetSymbolFileSpec (const lldb::SBFileSpec &fspec);
74 SetObjectName (const char *name);
80 SetTriple (const char *triple);
89 SetUUIDBytes (const uint8_t *uuid, size_t uuid_len);
92 GetDescription (lldb::SBStream &description);
94 STRING_EXTENSION(SBModuleSpec)
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);
131 STRING_EXTENSION(SBModuleSpecList)