[llvm][Patch 1/3] ppc-darwin AsmParser Base implementation.

David Fang fang at csl.cornell.edu
Thu Dec 5 15:52:18 PST 2013


Iain,
 	This patch set works great for me, having applied it to the 
powerpc-darwin8 branch, I've been able to compile and run C and C++ 
programs with -integrated-as -save-temps.  The only regression test that 
failed was the one intended to fail once this was implemented, 
test/CodeGen/PowerPC/hello-reloc.s -- it just needs to revert back to 
native Darwin syntax (from ELF syntax) to match the triple.
 	Ulrich, when you have some time, could you review this?
Thanks.

David

> @ hal & david - as discussed on irc,
>
> Here is a base patchset that enables powerpc-apple-darwin asm parser.
> The total patch is not really very large, but split into three components as discussed (it doesn't make much sense to apply them in isolation, the separation is purely for review).
>
> With the set applied "clang ? -integrated-as -save-temps" works for at least a nominal set of examples of C, C++ and ObjC.
>
> ==
>
> Part 1. Enables infrastructure (essentially isDarwin()) and fixes up the parsing of asm directives to separate out the ones additional to ELF from those additional to MachO.
>
> Iain
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/




More information about the llvm-commits mailing list