[PATCH] Add -link-cxx-sanitizer driver flag.

Alexey Samsonov vonosmas at gmail.com
Thu Aug 7 12:53:46 PDT 2014


Hi rsmith, chandlerc,

This flag can be used to force linking of CXX-specific parts
of sanitizer runtimes into the final executable. It gives more precise
control than --driver-mode=g++ and comes handy when user links several
object files with sanitized C++ code into an executable, but wants
to provide libstdc++ himself, instead of relying on Clang dirver's
behavior.

http://reviews.llvm.org/D4824

Files:
  include/clang/Driver/Options.td
  include/clang/Driver/SanitizerArgs.h
  lib/Driver/SanitizerArgs.cpp
  lib/Driver/Tools.cpp
  test/Driver/sanitizer-ld.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4824.12287.patch
Type: text/x-patch
Size: 4017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140807/43940703/attachment.bin>


More information about the cfe-commits mailing list