[cfe-commits] r173193 - /cfe/trunk/test/Parser/ms-inline-asm.c

Chad Rosier mcrosier at apple.com
Tue Jan 22 13:38:04 PST 2013


On Jan 22, 2013, at 1:33 PM, Eric Christopher <echristo at gmail.com> wrote:

> Could probably make it -emit-llvm at least? :)

I believe the -verify option prevents codegen from ever happening, so I don't think adding -emit-llvm would have any effect.  Unfortunately, my fix isn't the solution either.. :/

 Chad

> -eric
> 
> 
> On Tue, Jan 22, 2013 at 1:28 PM, Chad Rosier <mcrosier at apple.com> wrote:
> 
> On Jan 22, 2013, at 1:15 PM, Jordan Rose <jordan_rose at apple.com> wrote:
> 
> > Can't this just be -fsyntax-only? Or do you still need an x86 target to know how to parse the asm?
> 
> At what stage does -fsyntax-only stop compilation?  As soon as the parser calls Sema::ActOnMSAsmStmt() we require an x86 target.
> 
> >
> >
> > On Jan 22, 2013, at 12:57 , Chad Rosier <mcrosier at apple.com> wrote:
> >
> >> Author: mcrosier
> >> Date: Tue Jan 22 14:57:10 2013
> >> New Revision: 173193
> >>
> >> URL: http://llvm.org/viewvc/llvm-project?rev=173193&view=rev
> >> Log:
> >> Second attempt to fix ppc bots.
> >>
> >> Modified:
> >>   cfe/trunk/test/Parser/ms-inline-asm.c
> >>
> >> Modified: cfe/trunk/test/Parser/ms-inline-asm.c
> >> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/ms-inline-asm.c?rev=173193&r1=173192&r2=173193&view=diff
> >> ==============================================================================
> >> --- cfe/trunk/test/Parser/ms-inline-asm.c (original)
> >> +++ cfe/trunk/test/Parser/ms-inline-asm.c Tue Jan 22 14:57:10 2013
> >> @@ -1,4 +1,4 @@
> >> -// REQUIRES: x86-64-registered-target
> >> +// REQUIRES: x86-registered-target
> >> // RUN: %clang_cc1 %s -verify -fasm-blocks
> >>
> >> #define M __asm int 0x2c
> >>
> >>
> >> _______________________________________________
> >> cfe-commits mailing list
> >> cfe-commits at cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130122/2a152359/attachment.html>


More information about the cfe-commits mailing list