- Apr 29, 2011
-
-
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
-
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
-
- Apr 28, 2011
-
-
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
-
- Apr 27, 2011
-
-
Nick Lewycky authored
C89 doesn't have an inline keyword. llvm-svn: 130279
-
- Apr 26, 2011
-
-
Nick Lewycky authored
llvm-svn: 130191
-
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
-
- Apr 16, 2011
-
-
Benjamin Kramer authored
llvm-svn: 129638
-
Nick Lewycky authored
llvm-svn: 129637
-
Nick Lewycky authored
does. Also mostly implement it. Still a work-in-progress, but generates legal output on crafted test cases. llvm-svn: 129630
-
- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Apr 13, 2011
-
-
Benjamin Kramer authored
llvm-svn: 129467
-
Nick Lewycky authored
llvm-svn: 129423
-
- Apr 12, 2011
-
-
Nick Lewycky authored
specifier. llvm-svn: 129384
-
Nick Lewycky authored
llvm-svn: 129380
-
Nick Lewycky authored
Use debug info in the IR to find the directory/file:line:col. Each time that location changes, bump a counter. Unlike the existing profiling system, we don't try to look at argv[], and thusly don't require main() to be present in the IR. This matches GCC's technique where you specify the profiling flag when producing each .o file. The runtime library is minimal, currently just calling printf at program shutdown time. The API is designed to make it possible to emit GCOV data later on. llvm-svn: 129340
-
- Jan 29, 2011
-
-
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
-
- Sep 03, 2010
-
-
Mikhail Glushenkov authored
Makefile.rules assumes that all EXPORTED_SYMBOL_FILEs have the .exports extension. llvm-svn: 112964
-
- Apr 16, 2010
-
-
Dan Gohman authored
llvm-svn: 101459
-
Dan Gohman authored
to expect them this way, to fix srcdir!=objdir builds. llvm-svn: 101414
-
- Apr 15, 2010
-
-
Daniel Dunbar authored
system. llvm-svn: 101404
-
- Feb 23, 2010
-
-
Daniel Dunbar authored
llvm-svn: 96936
-
- Jan 02, 2010
-
-
Chris Lattner authored
If there is interest, it can be resurrected from SVN. PR4912. llvm-svn: 92422
-
- Sep 01, 2009
-
-
Andreas Neustifter authored
This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712
-
- Aug 28, 2009
-
-
Andreas Neustifter authored
See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085828.html llvm-svn: 80372
-
- Aug 24, 2009
-
-
Andreas Neustifter authored
llvm-svn: 79944
-
- Aug 20, 2009
-
-
Daniel Dunbar authored
llvm-svn: 79514
-
Daniel Dunbar authored
that is totally bogus. llvm-svn: 79512
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45425
-
Chris Lattner authored
llvm-svn: 45416
-
- Nov 17, 2006
-
-
Reid Spencer authored
premature, these libraries will be going away for the 2.0 release. Other arrangements for profiling, gc, etc. should be made in the next few months. llvm-svn: 31807
-
Reid Spencer authored
be dropped. This patch pertains to removing the runtime directory from LLVM. llvm-svn: 31793
-
- Nov 03, 2006
-
-
Reid Spencer authored
llvm-svn: 31404
-
- Oct 18, 2005
-
-
Chris Lattner authored
llvm-svn: 23790
-
- Apr 22, 2005
-
-
Misha Brukman authored
llvm-svn: 21427
-
- Jan 13, 2005
-
-
Reid Spencer authored
the JIT. llvm-svn: 19524
-
- Dec 22, 2004
-
-
Reid Spencer authored
* Variable name change: cferuntime_libdir -> CFERuntimeLibDir llvm-svn: 19096
-
- Dec 13, 2004
-
-
Reid Spencer authored
destination for this library so that it goes to $(cferuntime_libdir) rather than just $(libdir). Normal bytecode libraries should be installed in the $(libdir), but these ones are "special" because they're part of the the C/C++ front end. llvm-svn: 18882
-
- Dec 02, 2004
-
-
Reid Spencer authored
llvm-svn: 18429
-
Reid Spencer authored
* Don't have lines longer than 80 cols * Blank line after the header * Reduce spaces in var definitions. llvm-svn: 18427
-
Reid Spencer authored
llvm-svn: 18424
-