summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2019-05-09 14:22:07 +0000
committerKadir Cetinkaya <kadircet@google.com>2019-05-09 14:22:07 +0000
commit70674549f10f851b6edf2c5329d1dce56df945c1 (patch)
tree65aca7e2325fdeed91fa468de41f133570053d89 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
parent82e68f5d6a2737a74d06ac3d95c0b17eee5f89db (diff)
downloadbcm5719-llvm-70674549f10f851b6edf2c5329d1dce56df945c1.tar.gz
bcm5719-llvm-70674549f10f851b6edf2c5329d1dce56df945c1.zip
[clangd] Count number of references while merging RefSlabs inside FileIndex
Summary: For counting number of references clangd was relying on merging every duplication of a symbol. Unfortunately this does not apply to FileIndex(and one of its users' BackgroundIndex), since we get rid of duplication by simply dropping symbols coming from non-canonical locations. So only one or two(coming from canonical declaration header and defined source file, if exists) replications of the same symbol reaches merging step. This patch changes reference counting logic to rather count number of different RefSlabs a given SymbolID exists. Reviewers: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, mgrang, arphaman, jdoerfert, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59481 llvm-svn: 360344
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud