summaryrefslogtreecommitdiff
path: root/runtime/libprofile/CommonProfiling.c
Commit message (Collapse)AuthorAge
* Switch to c-style comments in a C file.David Blaikie2012-04-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155726 91177308-0d34-0410-b5e6-96231b3b80d8
* Defensively guard against calling malloc() with a size of zero.Ted Kremenek2012-04-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155661 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixing a warning in MSVC (this is also a test commit)Aaron Ballman2012-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149844 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for warnings: ignoring return value of ‘write’, declared with ↵Galina Kistanova2011-09-22
| | | | | | attribute warn_unused_result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140314 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak the MSVC build:Francois Pichet2011-04-29
| | | | | | | | - 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130490 91177308-0d34-0410-b5e6-96231b3b80d8
* Implementation of path profiling.Andrew Trick2011-01-29
| | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124515 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attribution from a variety of miscellaneous files.Chris Lattner2007-12-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45425 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo removal of the runtime libraries. While this may have been a bitReid Spencer2006-11-17
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
* In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support willReid Spencer2006-11-16
| | | | | | | be dropped. This patch pertains to removing the runtime directory from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31793 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unused variable.Reid Spencer2006-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31404 91177308-0d34-0410-b5e6-96231b3b80d8
* Constants for profile info type changed names to match the C++ ones.Brian Gaeke2004-05-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to copy the null terminator at the end of the argv list. SomeChris Lattner2004-02-10
| | | | | | | programs use it instead of argc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11270 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the program to take a '-llvmprof-output filename' option to specifyChris Lattner2004-02-10
| | | | | | | where to output the profiling data, if llvmprof.out is not good enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11264 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the initialization calls return argc.Chris Lattner2004-02-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11261 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually save and pass in argument informationChris Lattner2003-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9564 91177308-0d34-0410-b5e6-96231b3b80d8
* We need to output the number of records we have, so we know how many to read ↵Chris Lattner2003-10-28
| | | | | | in! Doh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9555 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of function and block profiling runtime libraryChris Lattner2003-10-28
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9546 91177308-0d34-0410-b5e6-96231b3b80d8