diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 03:23:10 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 03:23:10 +0000 |
commit | 4709975bfe6b884e3b2b62da7545b01a82239906 (patch) | |
tree | c945165555e4835915952a1ccc892e8c350da07b /make/platform | |
parent | cab2b24e0704c4efb150c6ea44195b766e56a690 (diff) |
PGO: Split out initialization of section bounds
Currently we register instrumentation data at runtime to determine the
bounds of the sections where the data lives. Soon we'll implement
platform-specific linker magic to determine this at link time.
Move this logic to a separate file, so that our build system can choose
the correct platform-specific code.
No functionality change intended.
<rdar://problem/15943240>
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make/platform')
-rw-r--r-- | make/platform/clang_darwin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk index d1822e52d..1470c6fad 100644 --- a/make/platform/clang_darwin.mk +++ b/make/platform/clang_darwin.mk @@ -222,8 +222,9 @@ FUNCTIONS.ios.x86_64h := $(FUNCTIONS.ios.x86_64) FUNCTIONS.osx := mulosi4 mulodi4 muloti4 -FUNCTIONS.profile_osx := GCDAProfiling InstrProfiling InstrProfilingExtras -FUNCTIONS.profile_ios := GCDAProfiling InstrProfiling InstrProfilingExtras +FUNCTIONS.profile_osx := GCDAProfiling InstrProfiling \ + InstrProfilingDefault InstrProfilingExtras +FUNCTIONS.profile_ios := $(FUNCTIONS.profile_osx) FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \ $(SanitizerCommonFunctions) \ |