hanchenye-llvm-project/compiler-rt/lib/profile
Justin Bogner 55248db0c9 profile: Add low level versions of profile buffer functions
On Darwin, compiler_rt uses magic linker symbols to find the profile
counters in the __DATA segment.  This is a reasonable method for
normal, hosted, userspace programs.  However programs with custom
memory layouts, such as the kernel, will need to tell compiler_rt
explicitly where to find these sections.

Patch by Lawrence D'Anna. Thanks!

llvm-svn: 223840
2014-12-09 22:07:25 +00:00
..
CMakeLists.txt [Profile] Always build profile runtime library with -fPIC. 2014-11-14 00:16:26 +00:00
GCDAProfiling.c profile: Improve error messages on bad GCDA files 2014-08-18 20:47:32 +00:00
InstrProfiling.c profile: Avoid name collisions between instrumentation and runtime 2014-09-04 15:45:31 +00:00
InstrProfiling.h profile: Add low level versions of profile buffer functions 2014-12-09 22:07:25 +00:00
InstrProfilingBuffer.c profile: Add low level versions of profile buffer functions 2014-12-09 22:07:25 +00:00
InstrProfilingFile.c profile: Avoid name collisions between instrumentation and runtime 2014-09-04 15:45:31 +00:00
InstrProfilingInternal.h profile: Add low level versions of profile buffer functions 2014-12-09 22:07:25 +00:00
InstrProfilingPlatformDarwin.c profile: Avoid name collisions between instrumentation and runtime 2014-09-04 15:45:31 +00:00
InstrProfilingPlatformOther.c profile: Avoid name collisions between instrumentation and runtime 2014-09-04 15:45:31 +00:00
InstrProfilingRuntime.cc InstrProf: Support profiling dlopen'd shared libraries 2014-05-17 01:27:30 +00:00
Makefile.mk PGO: Add explicit static initialization 2014-03-20 19:23:53 +00:00