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