r213400 - Recommit: Handle diagnostic warnings in Frontend diagnostic handler.
NAKAMURA Takumi
geek4civic at gmail.com
Fri Jul 18 17:55:01 PDT 2014
-cc1 -triple x86_64-unknown-unknown will work.
That said, I wonder it would depend on architecture and features. Consider
other non-x86 targets.
2014/07/19 9:34 "Tyler Nowicki" <tnowicki at apple.com>:
> I don’t know that much about how target triples work can you provide the
> command line you used to produce the error?
>
> I get an error with the following because -cc1 and -target seem to be
> compatible.
> clang -cc1 -target i686-linux -O3
> test/Misc/backend-optimization-failure.cpp -emit-llvm -gline-tables-only -S
> -verify -o /dev/null
>
> Thanks,
>
> Tyler
>
> On Jul 18, 2014, at 5:12 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>
> > It seems the test would be incompatible to i686.
> >
> > For example with -triple i686-linux,
> >
> > error: 'warning' diagnostics expected but not seen:
> > File clang/test/Misc/backend-optimization-failure.cpp Line 9: loop
> > not vectorized: failed explicitly specified loop vectorization
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140719/c5a9668a/attachment.html>
More information about the cfe-commits
mailing list