[PATCH] Move SanitizerArgs to the clang Driver

Alexey Samsonov samsonov at google.com
Mon Aug 12 10:12:54 PDT 2013



================
Comment at: lib/Driver/Driver.cpp:338
@@ -337,1 +337,3 @@
 
+  SanitizerArguments.parse(*this, *Args);
+
----------------
Richard Smith wrote:
> Parsing the sanitizer arguments eagerly like this means we won't be able to warn if they're not actually used by the tool. Maybe we could parse them lazily, only if a tool actually wants them?
Any suggestion when this might happen (i.e. the tool won't need sanitizer args)?


http://llvm-reviews.chandlerc.com/D1341



More information about the cfe-commits mailing list