aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2024-05-30 09:54:13 +0200
committerGitHub <noreply@github.com>2024-05-30 09:54:13 +0200
commitf38ebec7106fd541046d502be0f79a4dda1a89b0 (patch)
tree35c989d545f3fddabd224ff46f1fdbf77a43b47d /clang/lib/CodeGen
parent3cabbf60393cc8d55fe635e35e89e5973162de33 (diff)
downloadllvm-f38ebec7106fd541046d502be0f79a4dda1a89b0.zip
llvm-f38ebec7106fd541046d502be0f79a4dda1a89b0.tar.gz
llvm-f38ebec7106fd541046d502be0f79a4dda1a89b0.tar.bz2
[lldb-dap] Don't call GetNumChildren on non-indexed synthetic variables (#93534)
A synthetic child provider might need to do considerable amount of work to compute the number of children. lldb-dap is currently calling that for all synthethic variables, but it's only actually using the value for values which it deems to be "indexed" (which is determined by looking at the name of the first child). This patch reverses the logic so that GetNumChildren is only called for variables with a suitable first child.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions