You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
340 B
8 lines
340 B
RUN: %cpp_compiler %S/TraceMallocTest.cpp -o %t-TraceMallocTest
|
|
|
|
RUN: %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)
|