[llvm-commits] [compiler-rt] r163415 - /compiler-rt/trunk/make/platform/clang_darwin.mk

Chad Rosier mcrosier at apple.com
Mon Sep 10 09:57:20 PDT 2012


Daniel,
I believe this is causing failures on our buildbots.

 Chad

On Sep 7, 2012, at 12:57 PM, Daniel Dunbar wrote:

> Author: ddunbar
> Date: Fri Sep  7 14:57:35 2012
> New Revision: 163415
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=163415&view=rev
> Log:
> build/clang_darwin: Add the ASAN dynamic library.
> 
> Modified:
>    compiler-rt/trunk/make/platform/clang_darwin.mk
> 
> Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=163415&r1=163414&r2=163415&view=diff
> ==============================================================================
> --- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
> +++ compiler-rt/trunk/make/platform/clang_darwin.mk Fri Sep  7 14:57:35 2012
> @@ -61,6 +61,9 @@
> Configs += asan_osx
> UniversalArchs.asan_osx := $(call CheckArches,i386 x86_64,asan_osx)
> 
> +Configs += asan_osx_dynamic
> +UniversalArchs.asan_osx_dynamic := $(call CheckArches,i386 x86_64,asan_osx_dynamic)
> +
> # If RC_SUPPORTED_ARCHS is defined, treat it as a list of the architectures we
> # are intended to support and limit what we try to build to that.
> #
> @@ -95,6 +98,9 @@
> CFLAGS.10.4		:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
> # FIXME: We can't build ASAN with our stub SDK yet.
> CFLAGS.asan_osx         := $(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin
> +CFLAGS.asan_osx_dynamic := \
> +	$(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin \
> +	-DMAC_INTERPOSE_FUNCTIONS=1
> 
> CFLAGS.osx.i386		:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
> CFLAGS.osx.x86_64	:= $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
> @@ -103,6 +109,10 @@
> CFLAGS.profile_osx.i386   := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
> CFLAGS.profile_osx.x86_64 := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
> 
> +# Configure the asan_osx_dynamic library to be built shared.
> +SHARED_LIBRARY.asan_osx_dynamic := 1
> +LDFLAGS.asan_osx_dynamic := -framework Foundation -lc++
> +
> FUNCTIONS.eprintf := eprintf
> FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
> 
> @@ -112,6 +122,9 @@
> 
> FUNCTIONS.asan_osx := $(AsanFunctions) $(InterceptionFunctions) \
>                                        $(SanitizerCommonFunctions)
> +FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \
> +                              $(SanitizerCommonFunctions) \
> +	                      $(AsanDynamicFunctions)
> 
> CCKEXT_COMMON_FUNCTIONS := \
> 	absvdi2 \
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list