Displaying 2 results from an estimated 2 matches for "instrumented_build".
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
...up with really.
* Built a debug Clang with the following configuration:
cmake -G Ninja ../llvm \
-DCMAKE_BUILD_TYPE=Debug \
-DLLVM_ENABLE_PROJECTS='clang' \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_TARGETS_TO_BUILD=X86 \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_CXX_COMPILER=/path/to/instrumented_build/bin/clang++ \
-DCMAKE_C_COMPILER=/path/to/instrumented_build/bin/clang \
-DLLVM_USE_LINKER=/path/to/release_build/bin/ld.lld \
-DLLVM_CCACHE_BUILD=ON
* Tried to use /path/to/instrumented_build/llvm-profdata on the profraw
files found in /path/to/instrumented_build/profiles/.
I got the fol...
2019 Sep 03
2
Struggling with a PGO build of clang -- llvm-profdata was built without zlib support?
...guration:
>> cmake -G Ninja ../llvm \
>> -DCMAKE_BUILD_TYPE=Debug \
>> -DLLVM_ENABLE_PROJECTS='clang' \
>> -DBUILD_SHARED_LIBS=ON \
>> -DLLVM_TARGETS_TO_BUILD=X86 \
>> -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
>> -DCMAKE_CXX_COMPILER=/path/to/instrumented_build/bin/clang++ \
>> -DCMAKE_C_COMPILER=/path/to/instrumented_build/bin/clang \
>> -DLLVM_USE_LINKER=/path/to/release_build/bin/ld.lld \
>> -DLLVM_CCACHE_BUILD=ON
>>
>> * Tried to use /path/to/instrumented_build/llvm-profdata on the profraw
>> files found in...