[PATCH] D24048: [Driver] [Darwin] Add sanitizer libraries even if -nodefaultlibs is passed

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 7 16:52:42 PDT 2016


beanz updated this revision to Diff 70624.
beanz added a comment.

- Added new driver flag -flink-sanitizer-runtimes which forces linking sanitizer runtimes.

Additional cleanup will be required to support the GNUTools and FreeBSD drivers as well as making the Darwin behavior more consistent. I will update the patch with additional changes if this approach looks acceptable.


https://reviews.llvm.org/D24048

Files:
  include/clang/Driver/Options.td
  lib/Driver/ToolChains.cpp
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  test/Driver/nodefaultlib.c
  test/Driver/nostdlib.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24048.70624.patch
Type: text/x-patch
Size: 6031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160907/e5b9f641/attachment-0001.bin>


More information about the cfe-commits mailing list