[LLVMdev] Profiling - execution count of basic blocks...

Joseph Reddington joseph at cs.rhul.ac.uk
Mon Sep 10 01:01:39 PDT 2012


Hi gang,  time for my weekly confusion... (I'm trying not to bombard the
board with questions)

The thing that's on my mind at the moment (there's some backend-stuff that
I'm just working my way though) is that I'm not getting very far when
trying to get LLVM to profile code - I'm looking for nothing more special
than list of how many times each basic block has been called - but when
wading though the docs I get lots of command line fragments that don't work
and the distint impression that the method for profiling has changed three
times in the last three release - I don't suppose that you have any insight
into what's going on with profiling for llvm...?  I'm starting to get the
feeling that I've missed something obvious...   My setup is:

LLVM (http://llvm.org/):
  LLVM version 3.2svn
  DEBUG build with assertions.
  Built Jul 27 2012 (18:29:09).
  Default target: x86_64-apple-darwin11.4.0
  Host CPU: corei7-avx

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120910/0415d35f/attachment.html>


More information about the llvm-dev mailing list