Files
clang-p2996/compiler-rt/test/fuzzer/extra-counters.test
Matt Morehouse 881faf4190 Enable extra coverage counters on Windows
- Enable extra coverage counters on Windows.
- Update extra_counters.test to run on Windows also.
- Update TableLookupTest.cpp to include the required pragma/declspec for the extra coverage counters.

Patch By: MichaelSquires

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D106676
2021-08-05 11:40:15 -07:00

8 lines
289 B
Plaintext

UNSUPPORTED: darwin
RUN: %cpp_compiler %S/TableLookupTest.cpp -o %t-TableLookupTest
RUN: not %run %t-TableLookupTest -print_final_stats=1 2>&1 | FileCheck %s
CHECK: INFO: {{[0-9]+}} Extra Counters
// Expecting >= 4096 new_units_added
CHECK: stat::new_units_added:{{.*[4][0-9][0-9][0-9]}}