r218230 - ms-inline-asm: Scope inline asm labels to functions
Ehsan Akhgari
ehsan.akhgari at gmail.com
Thu Sep 25 10:52:11 PDT 2014
On Thu, Sep 25, 2014 at 1:42 PM, Francois Pichet <pichet2000 at gmail.com>
wrote:
>
>
> 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:
>
No, that should not compile.
--
Ehsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140925/0a2ec032/attachment.html>
More information about the cfe-commits
mailing list