[llvm-commits] [patch][llvm-gcc] Don't use a template for TheLLVMABI

Chris Lattner clattner at apple.com
Sat Jan 23 15:09:46 PST 2010


On Jan 23, 2010, at 1:11 PM, Rafael Espindola wrote:

> The attached patch changes llvm-abi.h to not  use a template for
> TheLLVMABI. This simplifies the code a bit, but is mostly a step in
> moving this to a .cpp file. I will also try to move the lnux ppc
> specific code to an independent file where it should be easy to diff
> it to the default code.
> 
> Tested on linux x86_64 by bootstrapping llvm-gcc, using that to build
> llvm and running both make check and the test-suite (the test-suite is
> still running).
> 
> Tested for linux ppc by checking that cc1 builds with target
> ppc-linux-gnu. Nick Lewycky tells me that linux ppc32 is broken
> anyway.
> 
> Is the patch OK assuming the test-suite completes OK?

Sounds great to me!

-Chris




More information about the llvm-commits mailing list