r218230 - ms-inline-asm: Scope inline asm labels to functions

Francois Pichet pichet2000 at gmail.com
Thu Sep 25 10:42:55 PDT 2014


On Sun, Sep 21, 2014 at 10:21 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com>
wrote:

> Author: ehsan
> Date: Sun Sep 21 21:21:54 2014
> New Revision: 218230
>
> URL: http://llvm.org/viewvc/llvm-project?rev=218230&view=rev
> Log:
> ms-inline-asm: Scope inline asm labels to functions
>
> Summary:
> This fixes PR20023.  In order to implement this scoping rule, we piggy
> back on the existing LabelDecl machinery, by creating LabelDecl's that
> will carry the "internal" name of the inline assembly label, which we
> will rewrite the asm label to.
>
> Reviewers: rnk
>


hi  Ehsan

Does this patch support jumping to a normal C/C++ label as in:

     __asm jmp some_label ;
     some_label:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140925/2386d9ce/attachment.html>


More information about the cfe-commits mailing list