1. [LLDB] Adding caching to libc++ std::function formatter for lookups that (details)
Commit e18f4db208baa84800cf304d7e15f2ee7343cd05 by shafik
[LLDB] Adding caching to libc++ std::function formatter for lookups that
require scanning symbols
Performance issues lead to the libc++ std::function formatter to be
disabled. This change is the first of two changes that should address
the performance issues and allow us to enable the formatter again. In
some cases we end up scanning the symbol table for the callable wrapped
by std::function for those cases we will now cache the results and used
the cache in subsequent look-ups. This still leaves a large cost for the
initial lookup which will be addressed in the next change.
Differential Revision:
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/main.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function/
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h