[patch] Check for isDiagnosticEnabled even if we have a dig handler

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Mar 3 12:25:47 PST 2015


Currently if there is a diagnostic handler it gets passed every
remark. This means that the gold plugin can only choose to print all
or none of them.

This patch move the check for isDiagnosticEnabled earlier which lets
the gold plugin handle things like -pass-remarks=inline.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150303/56f533c8/attachment.obj>


More information about the llvm-commits mailing list