From 1ea5b805ceab16bc1c8956f4f039d50099ed399e Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 22 Mar 2013 00:01:44 +0000 Subject: [PATCH] Don't forget to link in the C++-specific parts of the ubsan runtime when using the Makefile build system on Darwin. llvm-svn: 177684 --- compiler-rt/make/platform/clang_darwin.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk index 61c5b53..a5e22e6 100644 --- a/compiler-rt/make/platform/clang_darwin.mk +++ b/compiler-rt/make/platform/clang_darwin.mk @@ -192,7 +192,8 @@ FUNCTIONS.asan_osx_dynamic := $(AsanFunctions) $(InterceptionFunctions) \ $(SanitizerCommonFunctions) \ $(AsanDynamicFunctions) -FUNCTIONS.ubsan_osx := $(UbsanFunctions) $(SanitizerCommonFunctions) +FUNCTIONS.ubsan_osx := $(UbsanFunctions) $(UbsanCXXFunctions) \ + $(SanitizerCommonFunctions) CCKEXT_COMMON_FUNCTIONS := \ absvdi2 \ -- 2.7.4