mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
93b68b20d4
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129340 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
libprofile | ||
Makefile | ||
README.txt |
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.