PGO: Implement Darwin linker magic for instrumentation
commitf5e54501519d2904227e4127f05d2d92deacc70b
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 20 Mar 2014 03:57:33 +0000 (20 03:57 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 20 Mar 2014 03:57:33 +0000 (20 03:57 +0000)
tree02c45167fb6703c2a48e05238d39e7bbeb2c1142
parent4709975bfe6b884e3b2b62da7545b01a82239906
PGO: Implement Darwin linker magic for instrumentation

Use Darwin linker magic to find bounds of instrumentation data sections
at link time instead of runtime.

<rdar://problem/15943240>

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204302 91177308-0d34-0410-b5e6-96231b3b80d8
lib/profile/CMakeLists.txt
lib/profile/InstrProfilingDarwin.c [new file with mode: 0644]
make/platform/clang_darwin.mk