mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
e82d6318e9
to say the same thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360455 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
583 B
Plaintext
16 lines
583 B
Plaintext
You need a checkout of clang with compiler-rt to generate the
|
|
binary file here. These shell commands can be used to regenerate
|
|
it.
|
|
$ SRC=path/to/llvm
|
|
$ CFE=$SRC/tools/clang
|
|
$ TESTDIR=$SRC/test/tools/llvm-profdata
|
|
$ CFE_TESTDIR=$CFE/test/Profile
|
|
$ clang -o a.out -fprofile-instr-generate $CFE_TESTDIR/c-general.c
|
|
$ LLVM_PROFILE_FILE=$TESTDIR/Inputs/compressed.profraw ./a.out
|
|
|
|
RUN: not llvm-profdata show %p/Inputs/compressed.profraw -o %t 2>&1 | FileCheck %s
|
|
|
|
REQUIRES: !zlib
|
|
|
|
CHECK: error: {{.*}} Profile uses zlib compression but the profile reader was built without zlib support
|