summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-profdata/input-filenames.test
blob: 5d8d27b6dda99c8deda836f7545a7a5fc19468cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
RUN: printf '# comment 1\n' > %t
RUN: printf ' # comment 2\n' >> %t

RUN: printf 'bar\n' >> %t
RUN: printf ' baz\n' >> %t

RUN: printf '2,%t.weighted\n' >> %t
RUN: printf ' ' > %t.weighted

RUN: llvm-profdata merge -input-files %t -dump-input-file-list foo -o /dev/null | FileCheck %s
RUN: llvm-profdata merge -f %t -dump-input-file-list foo -o /dev/null | FileCheck %s

CHECK: 1,foo
CHECK-NEXT: 1,bar
CHECK-NEXT: 1,baz
CHECK-NEXT: 2,{{.*}}.weighted
OpenPOWER on IntegriCloud