The tools is used to generate global symbols for clangd (global code completion),
The format is YAML, which is only for experiment.
TEST: used the tool to generate global symbols for LLVM (~72MB).
Differential D41491
[clangd] Add a tool to build YAML-format global symbols. hokein on Dec 21 2017, 7:31 AM. Authored by
Details The tools is used to generate global symbols for clangd (global code completion), TEST: used the tool to generate global symbols for LLVM (~72MB).
Diff Detail
Event Timeline
Comment Actions This looks like it does the right thing, ISTM it has a few too many moving parts. Comment Actions Write all map-reduce logic into the global-symbol-builder binary, which makes Comment Actions Thanks for the comments.
Comment Actions Thanks for the simplification!
Comment Actions It took < 10 minutes (vs 20 minutes with python script) to run over LLVM.
|
I think generally we run check-clang-tools before committing - I guess it's OK not to have tests for this experimental tool, but we should at least keep it building. Can you make check-clang-tools build it?