Don't forget to link in the C++-specific parts of the ubsan runtime when using the...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Mar 2013 00:01:44 +0000 (00:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Mar 2013 00:01:44 +0000 (00:01 +0000)
llvm-svn: 177684

compiler-rt/make/platform/clang_darwin.mk

index 61c5b53..a5e22e6 100644 (file)
@@ -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 \