[PATCH] D38859: [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 12 17:20:49 PDT 2017
vsk added a comment.
llvm-profdata is tightly coupled with the host compiler: while this setup may work if you get lucky, I don't think it's resilient to changes in libProfData. Also, using the instrumented llvm-profdata will be slow and create extra profiles.
As an alternative, have you considered building an llvm-profdata compatible with your host compiler in a separate step?
More information about the cfe-commits