diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-07-10 23:24:36 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-07-10 23:24:36 +0000 |
commit | 37bf71828b572d551e1a892beb2afc6db0d51b37 (patch) | |
tree | 9f71e7d20db2c280e90a9575e0a29879f87cb3f7 /llvm/lib/Transforms/IPO/FunctionAttrs.cpp | |
parent | e87ad547efec70e15a727d3e8d3d7df6e14e5c99 (diff) | |
download | bcm5719-llvm-37bf71828b572d551e1a892beb2afc6db0d51b37.tar.gz bcm5719-llvm-37bf71828b572d551e1a892beb2afc6db0d51b37.zip |
Reapply SVN r274797.
Original Commit Message
Driver: Stop linking to C++ when using sanitizers on Darwin
Sanitizers on Darwin are built as dynamic libraries, not static libraries.
Sanitizers will have their C++ dependency satisfied internally (LC_LOAD_DYLIB)
in the libclang_rt dylib. As long as the sanitizers stay dynamic and not static,
linking against C++ when enabling a sanitizer becomes over linkage.
Patch by Dave Lee!
llvm-svn: 275032
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
0 files changed, 0 insertions, 0 deletions