[PATCH] Add lib/profile to cc_kext so we can use PGO for the kernel.
Justin Bogner
mail at justinbogner.com
Mon Dec 15 12:45:59 PST 2014
lg. I've committed this for you in r224270. Thanks!
larry at elder-gods.org writes:
> ---
> make/platform/clang_darwin.mk | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
> index 6ed3230..012d4f8 100644
> --- a/make/platform/clang_darwin.mk
> +++ b/make/platform/clang_darwin.mk
> @@ -257,7 +257,15 @@ 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 \
More information about the llvm-commits
mailing list