This significantly reduces the time required to run clangd tests, by
~10%.
Should also have an effect on other tests that run command-line parsing
multiple times inside a single invocation.
Paths
| Differential D67163
[Driver] Use shared singleton instance of DriverOptTable ClosedPublic Authored by ilya-biryukov on Sep 4 2019, 6:06 AM.
Details
Summary This significantly reduces the time required to run clangd tests, by Should also have an effect on other tests that run command-line parsing
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 4 2019, 6:24 AM Closed by commit rL370908: [Driver] Use shared singleton instance of DriverOptTable (authored by ibiryukov). · Explain WhySep 4 2019, 7:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 218693 cfe/trunk/include/clang/Driver/Driver.h
cfe/trunk/include/clang/Driver/Options.h
cfe/trunk/lib/Driver/Driver.cpp
cfe/trunk/lib/Driver/DriverOptions.cpp
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/lib/FrontendTool/ExecuteCompilerInvocation.cpp
cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp
cfe/trunk/lib/Tooling/Tooling.cpp
cfe/trunk/tools/clang-check/ClangCheck.cpp
cfe/trunk/tools/driver/cc1as_main.cpp
cfe/trunk/tools/driver/driver.cpp
clang-tools-extra/trunk/modularize/Modularize.cpp
|