forked from OSchip/llvm-project
[ASan] Nuke build of static ASan runtime on Mac OS
llvm-svn: 182261
This commit is contained in:
parent
7dcfc46253
commit
9711b25d4b
|
@ -70,9 +70,6 @@ Configs += profile_ios
|
|||
UniversalArchs.profile_ios := $(call CheckArches,i386 x86_64 armv7,profile_ios)
|
||||
|
||||
# Configurations which define the ASAN support functions.
|
||||
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)
|
||||
|
||||
|
@ -129,8 +126,6 @@ IOSSIM_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
|
|||
CFLAGS.eprintf := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
|
||||
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 \
|
||||
-fno-rtti -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=1
|
||||
CFLAGS.asan_osx_dynamic := \
|
||||
$(CFLAGS) -mmacosx-version-min=10.5 -fno-builtin \
|
||||
-gline-tables-only \
|
||||
|
@ -185,8 +180,6 @@ FUNCTIONS.osx := mulosi4 mulodi4 muloti4
|
|||
FUNCTIONS.profile_osx := GCDAProfiling
|
||||
FUNCTIONS.profile_ios := GCDAProfiling
|
||||
|
||||
FUNCTIONS.asan_osx := $(AsanFunctions) $(InterceptionFunctions) \
|
||||
$(SanitizerCommonFunctions)
|
||||
FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \
|
||||
$(SanitizerCommonFunctions) \
|
||||
$(AsanDynamicFunctions)
|
||||
|
|
Loading…
Reference in New Issue