[llvm-commits] Proof of concept patch for unifying the .s/ELF emission of .ARM.attributes

Rafael Espindola espindola at google.com
Wed Oct 6 09:06:46 PDT 2010


On 6 October 2010 11:52, Jason Kim <jasonwkim at google.com> wrote:
> Hi everyone.
>
> Can I commit this? If not, some feedback would be great. Thanks!

How do you plan to implement ARMAsmPrinter::emitELFAttributes? I am
worried that keeping it in sync with ARMAsmPrinter::emitAsmAttributes
might be annoying. What I would suggest is having a emitAttribute
method that uses EmitRawText if producing assembly or some other api
if producing ELF. Would calling SwitchSection and emitting raw bytes
do the job?

> -jason


Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list