llvm.org GIT mirror llvm / 6039b79 test / tools / llvm-profdata / input-filenames.test
6039b79

Tree @6039b79 (Download .tar.gz)

input-filenames.test @6039b79raw · history · blame

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