[PATCH] Driver: Include driver diags when we --serialize-diagnostics
Justin Bogner
mail at justinbogner.com
Mon Oct 20 10:43:31 PDT 2014
Currently, when --serialize-diagnostics is passed this only includes the
diagnostics from clang -cc1, and driver diagnostics are dropped. This
causes issues for tools that use the serialized diagnostics, since
stderr is lost and these diagnostics aren't seen at all.
This patch handles this by merging the diagnostics from the CC1 process
and the driver diagnostics into a single file when the driver invokes
CC1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serialized-diags.patch
Type: text/x-patch
Size: 19694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141020/2061d8f3/attachment.bin>
More information about the cfe-commits
mailing list