1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/runtime
Nick Lewycky cbe911f7d8 Add support for line profiling. Very work-in-progress.
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
2011-04-12 01:06:09 +00:00
..
libprofile Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
Makefile Revert r100896 and around - this breaks the only mingw32 buildbot we have. 2010-04-15 19:51:42 +00:00
README.txt Undo removal of the runtime libraries. While this may have been a bit 2006-11-17 03:32:33 +00:00

This directory contains the various runtime libraries used by components of 
the LLVM compiler.  For example, the automatic pool allocation transformation
inserts calls to an external pool allocator library.  This runtime library is
an example of the type of library that lives in these directories.