diff options
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r-- | llvm/lib/Support/Path.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index bbc02a2..7f4b7cb 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -12,6 +12,7 @@ #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" @@ -31,6 +32,10 @@ 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; |