summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-01-06 22:27:03 +0000
committerJustin Bogner <mail@justinbogner.com>2014-01-06 22:27:03 +0000
commit4dd0f8f11b02b91cf5d5dd3ecbb848457d041b09 (patch)
tree30781583ce2f40c6b8e7e90a60b97c5c50bc8f0b /make
parent50702a2deea493c681f05198f0a39d11a1bd0491 (diff)
profile: Rudimentary suppport for PGO instrumentation
This is fairly minimal support for instrumentation based PGO. The data format is inefficient, and the output file name is hardcoded to pgo-data. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@198638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index ddb702944..b17edeedb 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -214,8 +214,8 @@ FUNCTIONS.ios.x86_64 := $(FUNCTIONS.ios) \
FUNCTIONS.osx := mulosi4 mulodi4 muloti4
-FUNCTIONS.profile_osx := GCDAProfiling
-FUNCTIONS.profile_ios := GCDAProfiling
+FUNCTIONS.profile_osx := GCDAProfiling PGOProfiling
+FUNCTIONS.profile_ios := GCDAProfiling PGOProfiling
FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \
$(SanitizerCommonFunctions) \