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

Alexey Samsonov vonosmas at gmail.com
Thu Aug 7 14:37:49 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>;
----------------
Richard Smith wrote:
> 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?
Good catch. Renamed to --link-cxx-sanitizer. I wasn't able to come up with similar flag...

http://reviews.llvm.org/D4824






More information about the cfe-commits mailing list