From 75fcb193aeeec5c4f10cc39df60a5ce7526b1b28 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Fri, 16 Nov 2012 12:53:14 +0000 Subject: UBSan: enable proper linking with UBsan runtime on Darwin. Turn on building ubsan on OS X in 'make' build system. Patch by Jean-Daniel Dupas. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168168 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/compiler-rt/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile index 3475d24e9b..cb38f96719 100644 --- a/runtime/compiler-rt/Makefile +++ b/runtime/compiler-rt/Makefile @@ -76,7 +76,8 @@ RuntimeDirs += darwin RuntimeLibrary.darwin.Configs := \ eprintf.a 10.4.a osx.a ios.a cc_kext.a cc_kext_ios5.a \ asan_osx.a asan_osx_dynamic.dylib \ - profile_osx.a profile_ios.a + profile_osx.a profile_ios.a \ + ubsan_osx.a endif # On Linux, include a library which has all the runtime functions. -- cgit v1.2.3