summaryrefslogtreecommitdiffstats
path: root/compiler-rt/make/platform
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-12-10 20:24:09 +0000
committerXinliang David Li <davidxl@google.com>2015-12-10 20:24:09 +0000
commit449133d8b411cd18608d89678109bca4c553062c (patch)
treea072150d068d827c2a1678ddf084da5cbf1fe813 /compiler-rt/make/platform
parent060037e0d215d5188ff042e5004d9b3ca295f18a (diff)
downloadbcm5719-llvm-449133d8b411cd18608d89678109bca4c553062c.tar.gz
bcm5719-llvm-449133d8b411cd18608d89678109bca4c553062c.zip
[PGO] Split value profiling runtime into its own file
Value profile runtime depends on libc which breaks buffer API implemenation with current file organization. Test case is also updated to check more symbols. llvm-svn: 255294
Diffstat (limited to 'compiler-rt/make/platform')
-rw-r--r--compiler-rt/make/platform/clang_darwin.mk2
-rw-r--r--compiler-rt/make/platform/clang_linux.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk
index f85ced5cdda..9944481d8be 100644
--- a/compiler-rt/make/platform/clang_darwin.mk
+++ b/compiler-rt/make/platform/clang_darwin.mk
@@ -277,7 +277,7 @@ FUNCTIONS.osx := mulosi4 mulodi4 muloti4 $(ATOMIC_FUNCTIONS) $(FP16_FUNCTIONS)
FUNCTIONS.profile_osx := GCDAProfiling InstrProfiling InstrProfilingBuffer \
InstrProfilingFile InstrProfilingPlatformDarwin \
InstrProfilingRuntime InstrProfilingUtil \
- InstrProfilingWriter
+ InstrProfilingWriter InstrProfilingValue
FUNCTIONS.profile_ios := $(FUNCTIONS.profile_osx)
FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(AsanCXXFunctions) \
diff --git a/compiler-rt/make/platform/clang_linux.mk b/compiler-rt/make/platform/clang_linux.mk
index 80c22006ca8..bf5ee4a928f 100644
--- a/compiler-rt/make/platform/clang_linux.mk
+++ b/compiler-rt/make/platform/clang_linux.mk
@@ -79,7 +79,7 @@ FUNCTIONS.builtins-x86_64 := $(CommonFunctions) $(ArchFunctions.x86_64)
FUNCTIONS.profile-i386 := GCDAProfiling InstrProfiling InstrProfilingBuffer \
InstrProfilingFile InstrProfilingPlatformOther \
InstrProfilingRuntime InstrProfilingUtil \
- InstrProfilingWriter
+ InstrProfilingWriter InstrProfilingValue
FUNCTIONS.profile-x86_64 := $(FUNCTIONS.profile-i386)
# Always use optimized variants.
OpenPOWER on IntegriCloud