[Lldb-commits] [PATCH] D69913: Re-enable std::function formatter with fixes to improve non-cached lookup performance

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 6 14:29:17 PST 2019


friss added inline comments.


================
Comment at: source/Symbol/CompileUnit.cpp:101
+  // m_functions_by_uid is filled in lazily but we need all the entries.
+  symbol_file->ParseFunctions(*this);
+
----------------
friss wrote:
> This seems pretty expensive. Can we Force the parsing of the functions just in the compiler unit rather than the whole symbol file? If you are using a dSYM, then this is going to load all the debug information in one go.
Sorry, I somehow missed that this takes a CU as argument. This seems fine.


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

https://reviews.llvm.org/D69913





More information about the lldb-commits mailing list