[Lldb-commits] [PATCH] D109013: [lldb] Tighten lock in Language::ForEach

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 31 12:05:57 PDT 2021


clayborg added a comment.

The language map is a global that contains unique pointers to a "Language *", so the language objects are intentionally leaked because the language map is kept alive due to C++ destructor chain issues, so this should be safe.

LGTM. Anyone else have any objections?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109013



More information about the lldb-commits mailing list