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

Olivier Goffart ogoffart at woboq.com
Sat Aug 16 02:21:45 PDT 2014


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-assertion-on-asm-register-that-are.patch
Type: text/x-patch
Size: 1383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140816/d2df4006/attachment.bin>


More information about the cfe-commits mailing list