diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-19 22:10:27 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-19 22:10:27 +0000 |
commit | c88e530b0591224669d6d2760448b5dbf4e5d7a2 (patch) | |
tree | a82e5cedd08de60406afbc8699757eb072923947 /make | |
parent | 1520c1f8caaa1e7ee2febad549025db123031311 (diff) |
PGO: Splitting implementation files; no functionality change
Split implementation files along a uses-libc/shouldn't-use-libc
boundary.
- InstrProfiling.h is a shared header.
- InstrProfiling.c provides an API to extract profiling data from the
runtime, but avoids the use of libc. Currently this is a lie:
__llvm_pgo_write_buffer() uses `FILE*` and related functions. It
will be updated soon to write to a `char*` buffer instead.
- InstrProfilingExtras.c provides a more convenient API for
interfacing with the profiling runtime, but has logic that does (and
will continue to) use libc.
<rdar://problem/15943240>
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
0 files changed, 0 insertions, 0 deletions