blob: ce69a1ffd61a663f87b3a3bc46543f99f89856bf [file] [log] [blame]
RUN: llvm-profdata merge --sample --text -output=%t.proftext %S/Inputs/cs-sample.proftext
RUN: diff -b %t.proftext %S/Inputs/cs-sample.proftext
RUN: llvm-profdata merge --sample --extbinary %p/Inputs/cs-sample.proftext -o %t.prof && llvm-profdata merge --sample --text %t.prof -o %t1.proftext
RUN: diff -b %t1.proftext %S/Inputs/cs-sample.proftext
RUN: llvm-profdata show --sample -show-sec-info-only %t.prof | FileCheck %s
CHECK: FunctionMetadata {{.*}} Flags: {attr}