[PATCH] Fix assert on asm register that are "%"

Reid Kleckner rnk at google.com
Sat Aug 16 13:29:35 PDT 2014


lgtm


On Sat, Aug 16, 2014 at 2:21 AM, Olivier Goffart <ogoffart at woboq.com> wrote:

> On Thursday 07 August 2014 12:55:07 Olivier Goffart wrote:
> > Hi,
> >
> > In TargetInfo::isValidGCCRegisterName the Name might be empty again after
> > removing the %
> >
> > Found on code like
> >   register int foo asm("%" MACRO);
> > where MACRO was supposed to be defined in a header file that was not
> found.
> >
> > Regards
>
> Ping?
> _______________________________________________
> 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/20140816/9963e3b3/attachment.html>


More information about the cfe-commits mailing list