summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/test/trace-malloc.test
blob: 9b14ba2e51f0ae75105f47005bc2f4a4b11c7684 (plain)
1
2
3
4
5
6
7
RUN: %cpp_compiler %S/TraceMallocTest.cpp -o %t-LLVMFuzzer-TraceMallocTest

RUN: %t-LLVMFuzzer-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)
OpenPOWER on IntegriCloud