aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2020-09-24 12:36:06 -0700
committerVolodymyr Sapsai <vsapsai@apple.com>2020-09-24 12:36:06 -0700
commit9eba6b20a0579d3441e1b0f3cb3942f86d32679f (patch)
treed2321c7a1b81db6efd43e1ea25da26ffd0196c70 /llvm/lib/Support/Path.cpp
parent0a349d5827f6864ee89a5d0867d609339c07115d (diff)
downloadllvm-9eba6b20a0579d3441e1b0f3cb3942f86d32679f.zip
llvm-9eba6b20a0579d3441e1b0f3cb3942f86d32679f.tar.gz
llvm-9eba6b20a0579d3441e1b0f3cb3942f86d32679f.tar.bz2
Revert "[Modules] Add stats to measure performance of building and loading modules."
This reverts commit c4bacc3c9b333bb7032fb96f41d6f5b851623132. Test "LLVM :: ThinLTO/X86/funcimport-stats.ll" is failing. Reverting now and will recommit after making the test not fail with the added stats.
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 7f4b7cb..bbc02a2 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -12,7 +12,6 @@
#include "llvm/Support/Path.h"
#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/Statistic.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Errc.h"
@@ -32,10 +31,6 @@
using namespace llvm;
using namespace llvm::support::endian;
-#define DEBUG_TYPE "file-system"
-
-ALWAYS_ENABLED_STATISTIC(NumStatusCalls, "Number of `status` calls.");
-
namespace {
using llvm::StringRef;
using llvm::sys::path::is_separator;