Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user
specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170135 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticFrontendKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticFrontendKinds.td
- lib/FrontendTool/ExecuteCompilerInvocation.cpp 44 additions, 2 deletionslib/FrontendTool/ExecuteCompilerInvocation.cpp
- lib/FrontendTool/Makefile 15 additions, 0 deletionslib/FrontendTool/Makefile
- lib/Makefile 14 additions, 4 deletionslib/Makefile
- tools/driver/Makefile 16 additions, 6 deletionstools/driver/Makefile
- unittests/Makefile 15 additions, 1 deletionunittests/Makefile
Loading
Please register or sign in to comment