Resulting library binaries will be named libclang_rt.fuzzer*, and will be placed in Clang toolchain, allowing redistribution. Differential Revision: https://reviews.llvm.org/D36908 llvm-svn: 311407
8 lines
335 B
Plaintext
8 lines
335 B
Plaintext
RUN: %cpp_compiler %S/TraceMallocTest.cpp -o %t-TraceMallocTest
|
|
|
|
RUN: %t-TraceMallocTest -seed=1 -trace_malloc=1 -runs=10000 2>&1 | FileCheck %s
|
|
CHECK-DAG: MallocFreeTracer: STOP 0 0 (same)
|
|
CHECK-DAG: MallocFreeTracer: STOP 0 1 (DIFFERENT)
|
|
CHECK-DAG: MallocFreeTracer: STOP 1 0 (DIFFERENT)
|
|
CHECK-DAG: MallocFreeTracer: STOP 1 1 (same)
|