aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API/SBModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
-rw-r--r--lldb/source/API/SBModule.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp
index c6bda9d..e7c2b45 100644
--- a/lldb/source/API/SBModule.cpp
+++ b/lldb/source/API/SBModule.cpp
@@ -43,7 +43,9 @@ SBModule::SBModule(const SBModuleSpec &module_spec) {
SetSP(module_sp);
}
-SBModule::SBModule(const SBModule &rhs) = default;
+SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) {
+ LLDB_INSTRUMENT_VA(this, rhs);
+}
SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) {
LLDB_INSTRUMENT_VA(this, process, header_addr);