llvm-project/compiler-rt/test/fuzzer/value-profile-mem.test

7 lines
326 B
Plaintext

UNSUPPORTED: ios
UNSUPPORTED: freebsd
CHECK: BINGO
+# Disable trace-cmp so that we test just the memcmp interception
RUN: %cpp_compiler %S/SingleMemcmpTest.cpp -o %t-SingleMemcmpTest -fno-sanitize-coverage=trace-cmp
RUN: not %run %t-SingleMemcmpTest -seed=1 -use_cmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s