summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-12-15 20:44:05 +0000
committerJustin Bogner <mail@justinbogner.com>2014-12-15 20:44:05 +0000
commit42be29f74883699ab4f189e8db92bbff22effc92 (patch)
tree99ca3feeda52d30788036441a71a1a2e0a7307a6
parentbd62edb20d2d4f2ea47380458761df83c771ae2e (diff)
downloadbcm5719-llvm-42be29f74883699ab4f189e8db92bbff22effc92.tar.gz
bcm5719-llvm-42be29f74883699ab4f189e8db92bbff22effc92.zip
profile: Add the relevant parts of lib/profile to cc_kext on darwin
Patch by Lawrence D'Anna. Thanks! llvm-svn: 224270
-rw-r--r--compiler-rt/make/platform/clang_darwin.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk
index 6ed3230a0ed..f4f548ede2b 100644
--- a/compiler-rt/make/platform/clang_darwin.mk
+++ b/compiler-rt/make/platform/clang_darwin.mk
@@ -257,7 +257,13 @@ FUNCTIONS.asan_iossim_dynamic := $(AsanFunctions) $(AsanCXXFunctions) \
FUNCTIONS.ubsan_osx := $(UbsanFunctions) $(UbsanCXXFunctions) \
$(SanitizerCommonFunctions)
+CCKEXT_PROFILE_FUNCTIONS := \
+ InstrProfiling \
+ InstrProfilingBuffer \
+ InstrProfilingPlatformDarwin
+
CCKEXT_COMMON_FUNCTIONS := \
+ $(CCKEXT_PROFILE_FUNCTIONS) \
absvdi2 \
absvsi2 \
addvdi3 \
OpenPOWER on IntegriCloud