diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-07-07 21:42:29 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-07-07 21:42:29 +0000 |
commit | a1a36c85df101b68f2c9182dd386c0672708bdda (patch) | |
tree | 8f5212b84f7c09725dbfceaac6180b76b4d469b9 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 16284df8ec5f2acc79a2579716caad02a19e4bfb (diff) | |
download | bcm5719-llvm-a1a36c85df101b68f2c9182dd386c0672708bdda.tar.gz bcm5719-llvm-a1a36c85df101b68f2c9182dd386c0672708bdda.zip |
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: 274797
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions