summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-20 03:57:33 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-20 03:57:33 +0000
commitf5e54501519d2904227e4127f05d2d92deacc70b (patch)
tree02c45167fb6703c2a48e05238d39e7bbeb2c1142 /make
parent4709975bfe6b884e3b2b62da7545b01a82239906 (diff)
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
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index 1470c6fad..f4676e01a 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -223,7 +223,7 @@ FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64)
FUNCTIONS.osx := mulosi4 mulodi4 muloti4
FUNCTIONS.profile_osx := GCDAProfiling InstrProfiling \
- InstrProfilingDefault InstrProfilingExtras
+ InstrProfilingDarwin InstrProfilingExtras
FUNCTIONS.profile_ios := $(FUNCTIONS.profile_osx)
FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \