[DebugCounters] Fix DebugCounterTest when running all SupportTests
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 29 Aug 2018 16:11:48 +0000 (16:11 +0000)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 29 Aug 2018 16:11:48 +0000 (16:11 +0000)
commitbc2f06c9ef58518b357c3e6399895c0b90db9ff1
treeab52d2e05bb6f0e94a7cc74d382dc37d64e7cb2d
parente1ca7b614fc81d7d49172978c8de67832a652aa4
[DebugCounters] Fix DebugCounterTest when running all SupportTests

Previously, the DebugCounterTest was failing because CommandLineTest.GetCommandLineArguments was clearing all the global singletons.

Differential Revision: https://reviews.llvm.org/D51423

llvm-svn: 340935
llvm/unittests/Support/DebugCounterTest.cpp