[PATCH] Add -link-cxx-sanitizer driver flag.
Richard Smith
richard at metafoo.co.uk
Fri Aug 8 10:40:39 PDT 2014
================
Comment at: include/clang/Driver/Options.td:1531
@@ -1530,2 +1530,3 @@
def _library_directory : Separate<["--"], "library-directory">, Alias<L>;
+def _link_cxx_sanitizer : Flag<["--"], "link-cxx-sanitizer">;
def _no_line_commands : Flag<["--"], "no-line-commands">, Alias<P>;
----------------
I took a look though our existing flags, and only thing similar to this that I could find was `-fobjc-link-runtime`. Maybe something like `-fsanitize-link-c++-runtime`?
http://reviews.llvm.org/D4824
More information about the cfe-commits
mailing list