diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-07-23 21:49:36 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-07-23 21:49:36 +0000 |
commit | 4f40986a056b41fbe20c5ad408607de2686de2a5 (patch) | |
tree | 42dbff5ef60412320ba6eaee854116d0fcedfaf8 /unittests/Support/CMakeLists.txt | |
parent | 94363b3cf675fe10a405ba198fea9a32af134b49 (diff) |
[DebugCounters] Keep track of total counts
This patch makes debug counters keep track of the total number of times
we've called `shouldExecute` for each counter, so it's easier to build
automated tooling on top of these.
A patch to print these counts is coming soon.
Patch by Zhizhou Yang!
Differential Revision: https://reviews.llvm.org/D49560
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/CMakeLists.txt')
-rw-r--r-- | unittests/Support/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Support/CMakeLists.txt b/unittests/Support/CMakeLists.txt index 266a389b8b7..4e08d7df7ad 100644 --- a/unittests/Support/CMakeLists.txt +++ b/unittests/Support/CMakeLists.txt @@ -20,6 +20,7 @@ add_llvm_unittest(SupportTests ConvertUTFTest.cpp DataExtractorTest.cpp DebugTest.cpp + DebugCounterTest.cpp DJBTest.cpp EndianStreamTest.cpp EndianTest.cpp |