[Lldb-commits] [PATCH] D128264: [lldb/dyld-posix] Avoid reading the module list in inconsistent states

Emre Kultursay via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 21 15:15:38 PDT 2022


emrekultursay added a comment.

> Mainly added you in case you want to try this out on android.

Thanks. I tested this on a few Android API levels, and it looks good to me.



================
Comment at: lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp:441
+              &m_process->GetTarget()) == m_interpreter_base) {
+        ModuleSP interpreter_sp = m_interpreter_module.lock();
+        if (m_interpreter_module.lock() == nullptr) {
----------------
Use this variable below, instead of calling lock() again?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128264/new/

https://reviews.llvm.org/D128264



More information about the lldb-commits mailing list