Skip to content
  1. Apr 29, 2011
    • Francois Pichet's avatar
      Unbreak the MSVC build: · dbad1d15
      Francois Pichet authored
        - unistd.h doesn't exist with MSVC
        - inline must be __inline in Microsoft C
        - atexit cannot take a function declared as void f(), must be void f(void).
      
      llvm-svn: 130490
      dbad1d15
    • Nick Lewycky's avatar
      Rename profile_rt.so to libprofile_rt.so under configure+make (it already was · 61aed87a
      Nick Lewycky authored
      under cmake).
      
      Add libprofile_rt.a so that we can tell clang to link against it in --coverage
      mode. Also turn it on by default in cmake builds.
      
      Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think
      I've done the right thing, but please let me know (or fix and commit) if not!
      
      llvm-svn: 130470
      61aed87a
  2. Apr 28, 2011
    • Nick Lewycky's avatar
      Only read *predecessor once so as to fix a theoretical issue where it changes · 6aa79492
      Nick Lewycky authored
      between two reads (threading).
      
      Fix an off-by-one in the indirect counter table that I meant to revert after an
      earlier experiment. Whoops!
      
      Implement GCOV_PREFIX. Doesn't handle GCOV_PREFIX_STRIP yet.
      
      Fix an off-by-one in string emission. Extra whoops!
      
      Tolerate DISubprograms that have null Function*'s attached to them. I don't yet
      understand what this means, but it happens when you have a global static with
      a non-trivial constructor/destructor.
      
      Fix a crash on switch statements with a single successor (default-only).
      
      llvm-svn: 130443
      6aa79492
  3. Apr 27, 2011
  4. Apr 26, 2011
    • Nick Lewycky's avatar
      Add cmakefiles to build profile_rt.so! · 68d22189
      Nick Lewycky authored
      llvm-svn: 130191
      68d22189
    • Nick Lewycky's avatar
      Rename everything to follow LLVM style ... I think. · c58d293a
      Nick Lewycky authored
      Add support for switch and indirectbr edges. This works by densely numbering
      all blocks which have such terminators, and then separately numbering the
      possible successors. The predecessors write down a number, the successor knows
      its own number (as a ConstantInt) and sends that and the pointer to the number
      the predecessor wrote down to the runtime, who looks up the counter in a
      per-function table.
      
      Coverage data should now be functional, but I haven't tested it on anything
      other than my 2-file synthetic test program for coverage.
      
      llvm-svn: 130186
      c58d293a
  5. Apr 16, 2011
  6. Apr 15, 2011
  7. Apr 13, 2011
  8. Apr 12, 2011
  9. Jan 29, 2011
    • Andrew Trick's avatar
      Implementation of path profiling. · 24f5ff0f
      Andrew Trick authored
      Modified patch by Adam Preuss.
      
      This builds on the existing framework for block tracing, edge profiling and optimal edge profiling.
      See -help-hidden for new flags.
      For documentation, see the technical report "Implementation of Path Profiling..." in llvm.org/pubs.
      
      llvm-svn: 124515
      24f5ff0f
  10. Sep 03, 2010
  11. Apr 16, 2010
  12. Apr 15, 2010
  13. Feb 23, 2010
  14. Jan 02, 2010
  15. Sep 01, 2009
  16. Aug 28, 2009
  17. Aug 24, 2009
  18. Aug 20, 2009
  19. Dec 29, 2007
  20. Nov 17, 2006
  21. Nov 03, 2006
  22. Oct 18, 2005
  23. Apr 22, 2005
  24. Jan 13, 2005
  25. Dec 22, 2004
    • Reid Spencer's avatar
      For PR432: · e3014011
      Reid Spencer authored
      * Variable name change: cferuntime_libdir -> CFERuntimeLibDir
      
      llvm-svn: 19096
      e3014011
  26. Dec 13, 2004
  27. Dec 02, 2004
Loading