[PATCH] clang-cl: Store the linker options for the ASAN runtime libraries in the obj files as opposed to pass it to the linker on the command line

Ehsan Akhgari ehsan.akhgari at gmail.com
Tue Jul 8 17:45:26 PDT 2014


Hi rnk,

This enables using  to compile the code and then
link it using link.exe directly without invoking the linker through clang-cl.
It should hopefully make it easier for projects that don't use the compiler
to invoke the linker to use ASAN.

http://reviews.llvm.org/D4428

Files:
  lib/Driver/Tools.cpp
  test/Driver/cl-link.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4428.11176.patch
Type: text/x-patch
Size: 4091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140709/0f099f6a/attachment.bin>


More information about the cfe-commits mailing list