summaryrefslogtreecommitdiff
path: root/make
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
commit4461903fda68a6349e76e675eef2946b4e05592e (patch)
tree34c6b0e378c11dd3351e370d4ea22826a4a02dbd /make
parent8b00c773d1c05ae24e3f3e84254fc47381fd6ddd (diff)
profile: Add the relevant parts of lib/profile to cc_kext on darwin
Patch by Lawrence D'Anna. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index 6ed3230a0..f4f548ede 100644
--- a/make/platform/clang_darwin.mk
+++ b/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 \