[llvm-dev] Not able to use PGO with LLVM+Clang built from source

vivek pandya via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 12 02:40:06 PDT 2016


Hello,

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 ?

Sincerely,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160712/3fdf8934/attachment.html>


More information about the llvm-dev mailing list