LLVM Discussion Forums

How to let profdata process compressed profraw file?

I had try two way follow the tips on google.

  1. Disable compress with clang options ‘-mllvm -enable-name-compression=false’
  2. Build the llvm with ‘-DLLVM_ENABLE_ZLIB=ON’
    But seems both don’t work.

==========Update============
I build the llvm mistake before, now it seems could process the compressed file.But new problem occurs ,
error: ./src/storage/test/default.profraw: Unrecognized instrumentation profile encoding format