summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/libprofile/CommonProfiling.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the very substantial, largely unmaintained legacy PGOChandler Carruth2013-10-021-173/+0
| | | | | | | | | | | | | | | | | | | | infrastructure. This was essentially work toward PGO based on a design that had several flaws, partially dating from a time when LLVM had a different architecture, and with an effort to modernize it abandoned without being completed. Since then, it has bitrotted for several years further. The result is nearly unusable, and isn't helping any of the modern PGO efforts. Instead, it is getting in the way, adding confusion about PGO in LLVM and distracting everyone with maintenance on essentially dead code. Removing it paves the way for modern efforts around PGO. Among other effects, this removes the last of the runtime libraries from LLVM. Those are being developed in the separate 'compiler-rt' project now, with somewhat different licensing specifically more approriate for runtimes. llvm-svn: 191835
* libprofile/CommonProfiling.c: Fix according to C89.NAKAMURA Takumi2012-11-021-2/+2
| | | | llvm-svn: 167272
* PGO: allows the profile data file name to be specified by the LLVMPROF_OUTPUTManman Ren2012-11-021-0/+22
| | | | | | | | | | | | | | | environment variable. This allows parallel make for profiling code, without it there are file collisions as each parallel run uses the default file name. There is already code in the runtime library to specify the output file name via the command line, but this only works for programs which already process argc/argv. This patch builds on that support. Patch by Alastair Murray. llvm-svn: 167269
* Switch to c-style comments in a C file.David Blaikie2012-04-271-3/+4
| | | | llvm-svn: 155726
* Defensively guard against calling malloc() with a size of zero.Ted Kremenek2012-04-261-0/+9
| | | | llvm-svn: 155661
* Fixing a warning in MSVC (this is also a test commit)Aaron Ballman2012-02-051-2/+2
| | | | llvm-svn: 149844
* Fix for warnings: ignoring return value of ‘write’, declared with ↵Galina Kistanova2011-09-221-5/+12
| | | | | | attribute warn_unused_result. llvm-svn: 140314
* Unbreak the MSVC build:Francois Pichet2011-04-291-0/+4
| | | | | | | | - 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
* Implementation of path profiling.Andrew Trick2011-01-291-20/+33
| | | | | | | | | | 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
* remove attribution from a variety of miscellaneous files.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45425
* Undo removal of the runtime libraries. While this may have been a bitReid Spencer2006-11-171-0/+117
| | | | | | | 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
* In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support willReid Spencer2006-11-161-117/+0
| | | | | | be dropped. This patch pertains to removing the runtime directory from LLVM. llvm-svn: 31793
* Remove unused variable.Reid Spencer2006-11-031-1/+0
| | | | llvm-svn: 31404
* Constants for profile info type changed names to match the C++ ones.Brian Gaeke2004-05-041-1/+1
| | | | llvm-svn: 13344
* Make sure to copy the null terminator at the end of the argv list. SomeChris Lattner2004-02-101-2/+2
| | | | | | programs use it instead of argc. llvm-svn: 11270
* Allow the program to take a '-llvmprof-output filename' option to specifyChris Lattner2004-02-101-2/+30
| | | | | | where to output the profiling data, if llvmprof.out is not good enough. llvm-svn: 11264
* Make the initialization calls return argc.Chris Lattner2004-02-101-2/+4
| | | | llvm-svn: 11261
* Actually save and pass in argument informationChris Lattner2003-10-281-15/+20
| | | | llvm-svn: 9564
* We need to output the number of records we have, so we know how many to read ↵Chris Lattner2003-10-281-0/+1
| | | | | | in! Doh. llvm-svn: 9555
* Initial checkin of function and block profiling runtime libraryChris Lattner2003-10-281-0/+82
llvm-svn: 9546
OpenPOWER on IntegriCloud