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

Richard Smith richard at metafoo.co.uk
Thu Aug 7 14:08:25 PDT 2014


================
Comment at: include/clang/Driver/Options.td:388
@@ -387,2 +387,3 @@
 def shared_libasan : Flag<["-"], "shared-libasan">;
+def link_cxx_sanitizer : Flag<["-"], "link-cxx-sanitizer">;
 def fasm : Flag<["-"], "fasm">, Group<f_Group>;
----------------
Seems like a bad flag name choice; this already means "link to libink-cxx-sanitizer". Please use a double-dash prefix or similar. Is there any other similar flag name that this could be modeled after?

http://reviews.llvm.org/D4824






More information about the cfe-commits mailing list