
The Lit in subject fails on z/OS since the input file `Inputs/split-layout.profdata` is marked as ASCII even though it is binary and the output file `Output/sample-split-layout.test.tmp-output` is binary. This PR removes the diff command which fails because it compares a binary file and a text file. The rational is that this diff command seems to be redundant to the `FileCheck` on the next command.
22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
RUN: llvm-profdata merge --sample --extbinary --split-layout %p/Inputs/sample-profile.proftext -o %t-output
|
|
|
|
RUN: llvm-profdata merge --sample --text --split-layout %t-output | FileCheck %s
|
|
CHECK: main:184019:0
|
|
CHECK-NEXT: 4: 534
|
|
CHECK-NEXT: 4.2: 534
|
|
CHECK-NEXT: 5: 1075
|
|
CHECK-NEXT: 5.1: 1075
|
|
CHECK-NEXT: 6: 2080
|
|
CHECK-NEXT: 7: 534
|
|
CHECK-NEXT: 9: 2064 _Z3bari:1471 _Z3fooi:631
|
|
CHECK-NEXT: 10: inline1:1000
|
|
CHECK-NEXT: 1: 1000
|
|
CHECK-NEXT: 10: inline2:2000
|
|
CHECK-NEXT: 1: 2000
|
|
CHECK-NEXT: _Z3bari:20301:1437
|
|
CHECK-NEXT: 1: 1437
|
|
CHECK-NEXT: !Flat
|
|
CHECK-NEXT: _Z3fooi:7711:610
|
|
CHECK-NEXT: 1: 610
|
|
CHECK-NEXT: !Flat
|