[PATCH] WIP Implement eabi attributes handling in ARMAsmParser
Amara Emerson
amara.emerson at arm.com
Mon Oct 21 10:20:21 PDT 2013
Hi Gabor,
Thanks for your patch anyway, in future we should probably communicate via bug reports to prevent duplicated effort.
Logan, I have some minor comments on your patch which I'll send in due time.
Thanks,
Amara
-----Original Message-----
From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Gabor Ballabas
Sent: 21 October 2013 18:01
To: Rafael EspĂndola
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [PATCH] WIP Implement eabi attributes handling in ARMAsmParser
Hi Rafael,
Thanks for the review, but it seems that Logan's solution is more
advanced than mine
(and it works as you suggested using the streamer instead of the parser).
Thanks anyway!
Best regards,
Gabor Ballabas
On 10/18/13 21:08, Rafael EspĂndola wrote:
> Thank you so much for working on this!
>
> Can AttributeEmitter be merged into the target asm streamer? I.E. just
> add the MaybeSwitchVendor, EmitAttribute, EmitTextAttribute and Finish
> to the target streamer.
>
> + // Maps for ARM build attributes.
> + std::map<unsigned, unsigned> AttributeMap;
>
> What is the range of these integers? There is almost certainly a
> better data structure for doing this. Why is this on the parser? Can't
> the parser just call EmitAttribute for very .eabi_attribute and let
> the streamer handle it?
>
>
>
> On 18 October 2013 09:21, Gabor Ballabas <gaborb at inf.u-szeged.hu> wrote:
>> This is a work-in-progress patch for this bug:
>> http://llvm.org/bugs/show_bug.cgi?id=15172
>> This patch only handles the .eabi_attribute directive but I can make the
>> .cpu, .fpu and .arch
>> directives work as well with a similar approach.
>>
>> Best regards,
>> Gabor Ballabas
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
_______________________________________________
llvm-commits mailing list
llvm-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list