[PATCH] D67163: [Driver] Use shared singleton instance of DriverOptTable
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 4 06:06:53 PDT 2019
ilya-biryukov created this revision.
ilya-biryukov added reviewers: gribozavr, sammccall.
Herald added a subscriber: kadircet.
Herald added a project: clang.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67163
Files:
clang-tools-extra/modularize/Modularize.cpp
clang/include/clang/Driver/Driver.h
clang/include/clang/Driver/Options.h
clang/lib/Driver/Driver.cpp
clang/lib/Driver/DriverOptions.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
clang/lib/Tooling/Tooling.cpp
clang/tools/clang-check/ClangCheck.cpp
clang/tools/driver/cc1as_main.cpp
clang/tools/driver/driver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67163.218672.patch
Type: text/x-patch
Size: 21327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190904/6d3906e9/attachment-0001.bin>
More information about the cfe-commits
mailing list