[llvm-dev] Not able to use PGO with LLVM+Clang built from source
Chris Bieneman via llvm-dev
llvm-dev at lists.llvm.org
Tue Jul 12 08:37:00 PDT 2016
Vivek, in case you haven't seen it, we do have full support for multi-stage PGO builds in CMake. The documentation is here:
Your checkout will need to include LLVM, Clang, and Compiler-RT, and it will generate targets to run the full PGO generation. I find that using this is way easier than doing it manually.
> On Jul 12, 2016, at 4:40 AM, vivek pandya via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> When I try to use -fprofile-instr-generate with clang (which is built from source) I am getting following error :
> ld: file not found: /Users/Mr.Pandya/My_Stuff/Active/llvm/build/bin/../lib/clang/3.9.0/lib/darwin/libclang_rt.profile_osx.a
> clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
> I am not building compiler RT with LLVM.
> Am I missing any thing while building llvm/clang ?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev