Reuse the old -use-dex-index experiment flag for this.
To avoid breaking the tests, make Dex deduplicate symbols, addressing an old FIXME.
Paths
| Differential D53288
[clangd] Optionally use dex for the preamble parts of the dynamic index. ClosedPublic Authored by sammccall on Oct 15 2018, 7:28 AM.
Details Summary Reuse the old -use-dex-index experiment flag for this. To avoid breaking the tests, make Dex deduplicate symbols, addressing an old FIXME.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, kadircet, arphaman and 4 others. · View Herald TranscriptOct 15 2018, 7:28 AM Comment Actions LGTM.
This revision is now accepted and ready to land.Oct 15 2018, 7:46 AM Closed by commit rL344594: [clangd] Optionally use dex for the preamble parts of the dynamic index. (authored by sammccall). · Explain WhyOct 16 2018, 1:55 AM This revision was automatically updated to reflect the committed changes. sammccall marked an inline comment as done.
Revision Contents
Diff 169702 clangd/ClangdServer.h
clangd/ClangdServer.cpp
clangd/index/Background.cpp
clangd/index/FileIndex.h
clangd/index/FileIndex.cpp
clangd/index/dex/Dex.h
clangd/tool/ClangdMain.cpp
unittests/clangd/DexTests.cpp
unittests/clangd/FileIndexTests.cpp
unittests/clangd/TestTU.cpp
|
"too slow" seems confusing, dex is faster, I think here it means too slow to build?