diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-11-16 12:53:14 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-11-16 12:53:14 +0000 |
commit | 75fcb193aeeec5c4f10cc39df60a5ce7526b1b28 (patch) | |
tree | fb9ace7453bbee6d37401c76aacf5dd8b2b879e3 /runtime | |
parent | 4a9e60fc7c36e323ae376601cc704fed4beb68ae (diff) |
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
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/compiler-rt/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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. |