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