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

Rafael Espindola espindola at google.com
Sat Jan 23 13:11:03 PST 2010


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?

Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: template.patch
Type: text/x-diff
Size: 7331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100123/c658db13/attachment.patch>


More information about the llvm-commits mailing list