[Lldb-commits] [PATCH] D51176: Restrict the set of plugins used for ProcessMinidump

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 23 14:01:04 PDT 2018

zturner accepted this revision.
zturner added inline comments.

Comment at: source/Plugins/Process/minidump/ProcessMinidump.cpp:399-404
+JITLoaderList &ProcessMinidump::GetJITLoaders() {
+  if (!m_jit_loaders_ap) {
+    m_jit_loaders_ap = llvm::make_unique<JITLoaderList>();
+  }
+  return *m_jit_loaders_ap;
Can you put a comment in here explaining that the base class implementation does additional work that is unnecessary for a minidump plugin, so this is basically a performance optimization?



More information about the lldb-commits mailing list