summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/DebugCounterTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [DebugCounters] Fix DebugCounterTest when running all SupportTestsAlexandre Ganea2018-08-291-3/+2
| | | | | | | | Previously, the DebugCounterTest was failing because CommandLineTest.GetCommandLineArguments was clearing all the global singletons. Differential Revision: https://reviews.llvm.org/D51423 llvm-svn: 340935
* [DebugCounters] Keep track of total countsGeorge Burgess IV2018-07-231-0/+42
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 llvm-svn: 337748
OpenPOWER on IntegriCloud