aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2023-07-30 12:14:34 -0700
committerSteven Wu <stevenwu@apple.com>2023-07-30 12:15:02 -0700
commitf5974e80653db977913bceffca7e900e818ef872 (patch)
tree3cc4165e0784590c191767359da2a4cc61fa6b81 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb4bb111b8070d47e17f29cd02d52ec3c36f3e908 (diff)
downloadllvm-f5974e80653db977913bceffca7e900e818ef872.zip
llvm-f5974e80653db977913bceffca7e900e818ef872.tar.gz
llvm-f5974e80653db977913bceffca7e900e818ef872.tar.bz2
[SymbolSize] Improve the performance of SymbolSize computation
The current algorithm to compute the symbol size is quadratic if there are lots of symbols sharing the same addresses. This happens in a debug build when lots of debug symbols get emitted in the symtab. This patch improves the performance like `llvm-symbolizer` that relies on the symbol size computation. Symbolizing a release+assert clang with DebugInfo sees significant improvements from 3:40min to less than 1s. Reviewed By: pete, mehdi_amini, arsenm, MaskRay Differential Revision: https://reviews.llvm.org/D156603
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions