kastiglione created this revision. kastiglione added a reviewer: aprantl. Herald added a project: All. kastiglione requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
The SBModule copy constructor has fast execution, and is high firing. Fast and frequent functions are not good candidates for timers. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D142150 Files: lldb/source/API/SBModule.cpp Index: lldb/source/API/SBModule.cpp =================================================================== --- lldb/source/API/SBModule.cpp +++ lldb/source/API/SBModule.cpp @@ -43,9 +43,7 @@ SetSP(module_sp); } -SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) { - LLDB_INSTRUMENT_VA(this, rhs); -} +SBModule::SBModule(const SBModule &rhs) = default; SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) { LLDB_INSTRUMENT_VA(this, process, header_addr);
Index: lldb/source/API/SBModule.cpp =================================================================== --- lldb/source/API/SBModule.cpp +++ lldb/source/API/SBModule.cpp @@ -43,9 +43,7 @@ SetSP(module_sp); } -SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) { - LLDB_INSTRUMENT_VA(this, rhs); -} +SBModule::SBModule(const SBModule &rhs) = default; SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) { LLDB_INSTRUMENT_VA(this, process, header_addr);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits