]> granicus.if.org Git - clang/commit
-ftime-report switch support in Clang.
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>
Tue, 10 Apr 2018 10:34:13 +0000 (10:34 +0000)
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>
Tue, 10 Apr 2018 10:34:13 +0000 (10:34 +0000)
commitd3f7881f4d6b0c3c9aa0dba7d379954386c92d40
treea16127e9020be35381cfe906dc18f20c76002c4e
parent96176cafb82cab5ff75d485abbd90d5e10200fe6
-ftime-report switch support in Clang.
The current support of the feature produces only 2 lines in report:
 -Some general Code Generation Time;
 -Total time of Backend Consumer actions.
This patch extends Clang time report with new lines related to Preprocessor, Include Filea Search, Parsing, etc.
Differential Revision: https://reviews.llvm.org/D43578

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@329684 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/clang/Frontend/FrontendAction.h
include/clang/Lex/HeaderSearch.h
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/CodeGen/CodeGenAction.cpp
lib/Frontend/ASTMerge.cpp
lib/Frontend/CompilerInstance.cpp
lib/Frontend/FrontendAction.cpp
lib/Frontend/FrontendActions.cpp
lib/Lex/HeaderSearch.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/Pragma.cpp
lib/Parse/ParseTemplate.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplate.cpp
test/Frontend/ftime-report-template-decl.cpp [new file with mode: 0644]