[cfe-dev] Profiling with LLVM/Clang under OSX

fil fil at pobox.com
Tue Sep 24 17:18:45 PDT 2013


I am having trouble finding a simple example of profiling with the LLVM
toolchain - can anyone assist?

- If I want to use llvm-prof, should I be using "-pg" or does that produce a
non-llvm-prof compatible profiling code?
- Should I be using "-emit-llvm" to
- Can OSX be configured to execute bitcode files directly?
- Is there a simple Makefile example for a profile build?

I am using Xcode in external build configuration. If anyone knows how to use
the static analyser/profiling in the native UI in this configuration - let
me know :)




--
View this message in context: http://clang-developers.42468.n3.nabble.com/Profiling-with-LLVM-Clang-under-OSX-tp4034658.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list