teak-llvm/lldb/packages/Python/lldbsuite/test/lang
Adrian Prantl 418893d8f2 Speed up accelerator table lookups
When debugging a large program like clang and doing "frame variable
*this", the ValueObject pretty printer is doing hundreds of scoped
FindTypes lookups. The ones that take longest are the ones where the
DWARFDeclContext ends in something like ::Iterator which produces many
false positives that need to be filtered out *after* extracting the
DIEs. This patch demonstrates a way to filter out false positives at
the accerator table lookup step.

With this patch
  lldb clang-10 -o "b EmitFunctionStart" -o r -o "f 2" -o "fr v *this" -b -- ...
goes (in user time) from 5.6s -> 4.8s
or (in wall clock) from 6.9s -> 6.0s.

Differential Revision: https://reviews.llvm.org/D68678

llvm-svn: 374401
2019-10-10 17:59:15 +00:00
..
c Add pretty printing of Clang "bitfield" enums 2019-10-08 15:35:59 +00:00
cpp Speed up accelerator table lookups 2019-10-10 17:59:15 +00:00
mixed [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
objc [Testsuite] Get rid of most of the recursive shared library Makefiles 2019-10-08 16:23:28 +00:00
objcxx Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00