[PATCH] Don't run diagnostic for sanitizer arguments several times
Chandler Carruth
chandlerc at google.com
Thu Aug 8 01:34:12 PDT 2013
On Thu, Aug 8, 2013 at 1:08 AM, Alexey Samsonov <samsonov at google.com> wrote:
> On Thu, Aug 8, 2013 at 3:48 AM, Richard Smith <richard at metafoo.co.uk>wrote:
>
>>
>> Perhaps we should lazily construct and store a SanitizerArgs instance
>> on the Driver, and share it between the various places that want to inspect
>> the sanitizer arguments?
>>
>
> That's what first comes to mind. If it fits in the driver architecture and
> doesn't add unwanted global state, I can implement this.
>
Does it even need to be lazy? You could just build this immediately when
you build the driver. I consider the sanitizer options to be high-level
driver options anyways.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130808/3a5ef89d/attachment.html>
More information about the cfe-commits
mailing list