r198858 - Disable LeakSanitizer in TableGen binaries, see PR18325

Chandler Carruth chandlerc at google.com
Thu Jan 9 03:08:50 PST 2014


On Thu, Jan 9, 2014 at 6:02 AM, Alp Toker <alp at nuanti.com> wrote:

> Hi Kostya,
>
> This doesn't look correct and fires warnings my my strict checks build.
>

I'm pretty sure the change works correctly, and it was definitely what
Kostya and I intended.


>
> Double-underscore prefixed identifiers are strictly reserved for the
> implementation.
>

Yes, and LeakSanitizer is something provided by the implementation? (the
toolchain's runtime libraries specifically) I don't see any problem with
double underscore here, any more than with __builtin_... functions or any
of the other sanitizer interfaces.

Can you clarify exactly what the error is and why? It's possible we could
provide a macro of some kind in the sanitizer headers to bundle this
functionality up if we need some special marking of this for checkers, but
without more information its hard to hell what the actual problem is.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140109/959c2641/attachment.html>


More information about the cfe-commits mailing list