labath added a reviewer: jingham. labath accepted this revision. labath added a subscriber: jingham. labath added a comment. This revision is now accepted and ready to land.
This looks good to me (I wanted to do something like that myself at one point), but maybe let @jingham have a say too. (Overall, I would say that shouldn't be any reason why constructing a dummy target should ever fail, nor a reason for its creation to consume a large chunk of any kind of resource, so we can save ourselves a lot of second-guessing by just ensuring that the dummy target really always is there.) ================ Comment at: lldb/include/lldb/Core/Debugger.h:403 llvm::once_flag m_clear_once; + lldb::TargetSP m_dummy_target; ---------------- this would be `m_dummy_target_sp`, according to the lldb style. Repository: rLLDB LLDB CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66581/new/ https://reviews.llvm.org/D66581 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits