[cfe-commits] adding "-fasan" flag

Kostya Serebryany kcc at google.com
Tue Nov 15 20:29:19 PST 2011


On Tue, Nov 15, 2011 at 8:27 PM, Chandler Carruth <chandlerc at google.com>wrote:

> On Tue, Nov 15, 2011 at 8:22 PM, Kostya Serebryany <kcc at google.com> wrote:
>
>> Quite a few users (including WebKit) already use the current name, it
>> would be sad to break compatibility.
>
>
> There could be a (hopefully temporary) compatibility define of
> ADDRESS_SANITIZER, but it would seem good to use the __has_feature(...)
> functionality in Clang to avoid this problem long-term.
>

See my objection about compiler-neutrality.

--kcc

>
> We could even use -fasan (if you are convinced to change the name) to
> enable the compatibility mode....
>
> I just don't want compatibility to lock us into an inferior solution. We
> should design things the way they *should* work, and provide any
> compatibility workarounds necessary for the brief period of time necessary
> to update folks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111115/fdedce8f/attachment.html>


More information about the cfe-commits mailing list