diff options
author | Dave Lee <davelee.com@gmail.com> | 2023-01-23 09:51:43 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2023-01-23 09:52:11 -0800 |
commit | 9bf03187bd29f42902183e4bdac9b7f2d3008d00 (patch) | |
tree | 77337bc5338b0f9f44f889edf26dc47e767d408f /lldb/source/API/SBModule.cpp | |
parent | d62500dca72c06b962a811016fe70d64dbb47879 (diff) | |
download | llvm-9bf03187bd29f42902183e4bdac9b7f2d3008d00.zip llvm-9bf03187bd29f42902183e4bdac9b7f2d3008d00.tar.gz llvm-9bf03187bd29f42902183e4bdac9b7f2d3008d00.tar.bz2 |
Revert "[lldb] Remove timer from SBModule copy ctor"
This reverts commit 84c6129c943135e2c32b9254f08d0a2e7b21116a.
Diffstat (limited to 'lldb/source/API/SBModule.cpp')
-rw-r--r-- | lldb/source/API/SBModule.cpp | 4 |
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); |