| 1 |
# RUN: llvm-profdata merge -text %s -o %t.1.proftext |
| 2 |
# RUN: llvm-profdata merge -binary %t.1.proftext -o %t.2.profdata |
| 3 |
# RUN: llvm-profdata merge -text %t.2.profdata -o %t.3.proftext |
| 4 |
# RUN: diff %t.1.proftext %t.3.proftext |
| 5 |
|
| 6 |
# RUN: llvm-profdata merge -text %s | FileCheck %s |
| 7 |
|
| 8 |
# CHECK: :temporal_prof_traces |
| 9 |
# CHECK: # Num Temporal Profile Traces: |
| 10 |
# CHECK-NEXT: 3 |
| 11 |
# CHECK: # Temporal Profile Trace Stream Size: |
| 12 |
# CHECK-NEXT: 3 |
| 13 |
# CHECK-DAG: foo,bar,goo, |
| 14 |
# CHECK-DAG: foo,goo,bar, |
| 15 |
# CHECK-DAG: goo, |
| 16 |
|
| 17 |
# Header |
| 18 |
:ir |
| 19 |
:temporal_prof_traces |
| 20 |
# Num Traces: |
| 21 |
3 |
| 22 |
# Trace Stream Size: |
| 23 |
3 |
| 24 |
# Weight |
| 25 |
1 |
| 26 |
foo, bar, goo |
| 27 |
# Weight |
| 28 |
3 |
| 29 |
foo,goo,bar, |
| 30 |
# Weight |
| 31 |
1 |
| 32 |
goo |
| 33 |
|
| 34 |
foo |
| 35 |
# Func Hash: |
| 36 |
0x1234 |
| 37 |
# Num Counters: |
| 38 |
1 |
| 39 |
# Counter Values: |
| 40 |
101 |
| 41 |
|
| 42 |
bar |
| 43 |
0x5678 |
| 44 |
1 |
| 45 |
202 |
| 46 |
|
| 47 |
goo |
| 48 |
0xabcd |
| 49 |
1 |
| 50 |
303 |