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

Renato Golin renato.golin at arm.com
Thu Oct 21 11:17:08 PDT 2010


2010/10/21 Jason Kim <jasonwkim at google.com>:
> Of the 45 remaining, there are 4 interesting uses in MCAsmStreamer.cpp
> - (I suppose for emitting data constants in a cross platform manner)
> The other remaining uses are in AsmPrinter, again to do cross platform things.
> It seems a bit strange to use a high level hammer to do ballpeen
> work..... But when in Rome.... :-)

Hi Jason,

Are you printing ELF symbols and sections with AsmPrinter? I was under
the impression that you'd create an MCPrinter to deal with the
format-independent and only use AsmPrinter/ELFPrinter for specific
calls (to AsmStreamer/ObjectStreamer).

Or maybe I got it all wrong...

cheers,
--renato



More information about the llvm-dev mailing list