[Lldb-commits] [PATCH] D67022: Enhance SymbolFileDWARF::ParseDeclsForContext performance

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 4 11:21:20 PDT 2019


labath added a comment.

In D67022#1658057 <https://reviews.llvm.org/D67022#1658057>, @clayborg wrote:

> Great idea, but this idea gave me the idea  to use "m_decl_ctx_to_die" as is, and just remove the entry once we have parse all decls. Then we free the memory and don't need a bit. If there is no entry in the m_decl_ctx_to_die map, then ForEachDIEInDeclContext will just not iterate at all?


Yes, that sounds even better!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67022





More information about the lldb-commits mailing list