• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Create an input file.
2RUN: echo '# comment 1' > %t.input
3RUN: echo ' # comment 2' >> %t.input
4RUN: echo 'bar' >> %t.input
5RUN: echo ' baz' >> %t.input
6RUN: echo "2,%t.weighted" >> %t.input
7
8# Create the weighted file, since these actually need to exist.
9RUN: echo ' ' > %t.weighted
10
11RUN: llvm-profdata merge -f %t.input -dump-input-file-list -o /dev/null foo | FileCheck %s
12RUN: llvm-profdata merge -input-files %t.input -dump-input-file-list -o /dev/null foo | FileCheck %s
13
14CHECK: 1,foo
15CHECK-NEXT: 1,bar
16CHECK-NEXT: 1,baz
17CHECK-NEXT: 2,{{.*}}.weighted
18