summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-10 18:53:28 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-10 18:53:28 +0000
commitade321e7ddf76483ea8b9fd2921216e026c9dc1b (patch)
tree9d0f22b8eec20831e79785ad0ec7f366197fd6e3 /clang/lib/Frontend/CompilerInstance.cpp
parent298e1712d827a05b2cbb2936a9fc67745fa68c13 (diff)
downloadbcm5719-llvm-ade321e7ddf76483ea8b9fd2921216e026c9dc1b.tar.gz
bcm5719-llvm-ade321e7ddf76483ea8b9fd2921216e026c9dc1b.zip
Revert r329684 (and follow-ups 329693, 329714). See discussion on https://reviews.llvm.org/D43578.
llvm-svn: 329739
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 904e5876814..b8f55b61427 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -54,8 +54,6 @@
#include <utility>
using namespace clang;
-static const char *const GroupName = "frontend";
-static const char *const GroupDescription = "===== Frontend =====";
CompilerInstance::CompilerInstance(
std::shared_ptr<PCHContainerOperations> PCHContainerOps,
@@ -937,10 +935,6 @@ bool CompilerInstance::ExecuteAction(FrontendAction &Act) {
assert(!getFrontendOpts().ShowHelp && "Client must handle '-help'!");
assert(!getFrontendOpts().ShowVersion && "Client must handle '-version'!");
- llvm::NamedRegionTimer T("compilerinstance", "Compiler Instance actions",
- GroupName, GroupDescription,
- llvm::TimePassesIsEnabled);
-
// FIXME: Take this as an argument, once all the APIs we used have moved to
// taking it as an input instead of hard-coding llvm::errs.
raw_ostream &OS = llvm::errs();
OpenPOWER on IntegriCloud