summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/scudo/standalone/tests/combined_test.cc
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2019-06-17 14:49:18 +0000
committerHaojian Wu <hokein@google.com>2019-06-17 14:49:18 +0000
commitb5ce4e5ea3e101011d030f38e01df6c0b059820a (patch)
tree9bfe323d2662e3100c0766978167ea76af4f7c9b /compiler-rt/lib/scudo/standalone/tests/combined_test.cc
parent8c82c41262fad55de7ed921b9e0df0da6c0e896b (diff)
downloadbcm5719-llvm-b5ce4e5ea3e101011d030f38e01df6c0b059820a.tar.gz
bcm5719-llvm-b5ce4e5ea3e101011d030f38e01df6c0b059820a.zip
[clangd] Perform merge for main file symbols.
Summary: Previously, we randomly pick one main file symbol in dynamic index, we may loose the ideal symbol (with definition location) in the index. It fixes the issue where sometimes we fail to go to the symbol definition, see: 1. call go-to-decl on Foo in Foo.cpp 2. jump to Foo.h, call go-to-def on Foo in Foo.h we can't go back to Foo.cpp -- because we open Foo.cpp, Foo.h in clangd, both files have Foo symbol (one with def&decl, one with decl only), we randomely choose one. Reviewers: kadircet Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63425 llvm-svn: 363568
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/tests/combined_test.cc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud