3 To update the inputs used below run Inputs/update_memprof_inputs.sh /path/to/updated/clang
4 RUN: llvm-profdata show --memory %p/Inputs/multi.memprofraw --profiled-binary %p/Inputs/multi.memprofexe -o - | FileCheck %s
6 We expect 2 MIB entries, 1 each for the malloc calls in the program.
10 CHECK-NEXT: Version: 3
11 CHECK-NEXT: NumSegments: {{[0-9]+}}
12 CHECK-NEXT: NumMibInfo: 2
13 CHECK-NEXT: NumAllocFunctions: 1
14 CHECK-NEXT: NumStackOffsets: 2
16 CHECK: SymbolName: main
17 CHECK-NEXT: LineOffset: 1
18 CHECK-NEXT: Column: 21
20 CHECK: SymbolName: main
21 CHECK-NEXT: LineOffset: 5
22 CHECK-NEXT: Column: 15