summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-07-07 21:42:29 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-07-07 21:42:29 +0000
commita1a36c85df101b68f2c9182dd386c0672708bdda (patch)
tree8f5212b84f7c09725dbfceaac6180b76b4d469b9 /llvm/lib/Object/MachOObjectFile.cpp
parent16284df8ec5f2acc79a2579716caad02a19e4bfb (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud