1 # Create an input file.
2 RUN: echo '# comment 1' > %t.input
3 RUN: echo ' # comment 2' >> %t.input
4 RUN: echo " %t.bar" >> %t.input
5 RUN: echo " %t.baz" >> %t.input
6 RUN: echo "2,%t.weighted" >> %t.input
8 RUN: echo ' ' > %t.weighted
10 RUN: echo ' ' > %t.bar
11 RUN: echo ' ' > %t.baz
13 RUN: llvm-profdata merge -f %t.input -dump-input-file-list -o /dev/null %t.foo | FileCheck %s
14 RUN: llvm-profdata merge -input-files %t.input -dump-input-file-list -o /dev/null %t.foo | FileCheck %s
17 CHECK-NEXT: 1,{{.*}}.bar
18 CHECK-NEXT: 1,{{.*}}.baz
19 CHECK-NEXT: 2,{{.*}}.weighted