Commit Graph

13 Commits

Author SHA1 Message Date
Brian Gaeke
ada3c4f805 Share the profile info type enum with the C++ analysis libraries.
Add a documentation comment for write_profiling_data().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:48 +00:00
Brian Gaeke
9fa49c8906 Constants for profile info type changed names to match the C++ ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:47 +00:00
Brian Gaeke
40114b780b Constants for profile info type changed names to match the C++ ones.
Edited comments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13343 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-04 16:51:46 +00:00
Brian Gaeke
ca1a6976ba Add initial implementation of basic block tracing runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13339 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:51:50 +00:00
Brian Gaeke
86329b3fd6 Add basic block tracing functions as exported symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13338 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:17 +00:00
Brian Gaeke
273595f907 Add basic block tracing information as a type of "profiling" information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13337 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-03 23:49:16 +00:00
Chris Lattner
127cab2cc7 Add edge profiling support to the runtime library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12227 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-08 18:04:31 +00:00
Chris Lattner
f472935caf Make sure to copy the null terminator at the end of the argv list. Some
programs use it instead of argc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11270 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 19:14:44 +00:00
Chris Lattner
ebd02a8cfa Allow the program to take a '-llvmprof-output filename' option to specify
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
2004-02-10 18:01:00 +00:00
Chris Lattner
affce4fd93 Make the initialization calls return argc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11261 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 17:36:25 +00:00
Chris Lattner
d09bef4d46 Actually save and pass in argument information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9564 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 22:45:25 +00:00
Chris Lattner
98b1d8115e We need to output the number of records we have, so we know how many to read in! Doh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9555 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 19:35:56 +00:00
Chris Lattner
a9a3028935 Initial checkin of function and block profiling runtime library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9546 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28 18:56:51 +00:00