[PATCH] Move SanitizerArgs to the clang Driver

Richard Smith richard at metafoo.co.uk
Fri Aug 9 10:15:43 PDT 2013



================
Comment at: lib/Driver/Driver.cpp:338
@@ -337,1 +337,3 @@
 
+  SanitizerArguments.parse(*this, *Args);
+
----------------
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?


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



More information about the cfe-commits mailing list