3 RUN: echo ":ir" > %t.proftext
4 RUN: echo "main" >> %t.proftext
5 RUN: echo "742261418966908927" >> %t.proftext
6 RUN: echo "1" >> %t.proftext
7 RUN: echo "1" >> %t.proftext
9 To update the inputs used below run Inputs/update_memprof_inputs.sh /path/to/updated/clang
10 RUN: llvm-profdata merge %t.proftext %p/Inputs/basic.memprofraw --profiled-binary %p/Inputs/basic.memprofexe -o %t.prof
11 RUN: llvm-profdata show %t.prof | FileCheck %s
13 For now we only check the validity of the instrumented profile since we don't
14 have a way to display the contents of the memprof indexed format yet.
16 CHECK: Instrumentation level: IR entry_first = 0
17 CHECK: Total functions: 1
18 CHECK: Maximum function count: 1
19 CHECK: Maximum internal block count: 0