value-profile-mem.test 326 Bytes
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