brintos

brintos / llvm-project-archived public Read only

0
0
Text · 584 B · 2365706 Raw
16 lines · plain
1You need a checkout of clang with compiler-rt to generate the2binary file here.  These shell commands can be used to regenerate3it.4$ SRC=path/to/llvm5$ CFE=$SRC/tools/clang6$ TESTDIR=$SRC/test/tools/llvm-profdata7$ CFE_TESTDIR=$CFE/test/Profile8$ clang -o a.out -fprofile-instr-generate $CFE_TESTDIR/c-general.c9$ LLVM_PROFILE_FILE=$TESTDIR/Inputs/compressed.profraw ./a.out10 11RUN: not llvm-profdata show %p/Inputs/compressed.profraw -o %t 2>&1 | FileCheck %s12 13REQUIRES: !zlib14 15CHECK: error: {{.+}}: profile uses zlib compression but the profile reader was built without zlib support16