[llvm-commits] [PATCH]: fixing clang Targets.cpp for PPC

Rafael Espindola espindola at google.com
Thu Oct 7 10:28:34 PDT 2010


On 5 October 2010 12:21, Roman Divacky <rdivacky at freebsd.org> wrote:
> hi,
>
> the attached patch fixes two things
>
> 1) it defines the width/alignment of bool to be 32 (on Darwin)
>   and 8 everywhere else
>
> 2) it changes the definition of va list declaration on ppc32
>   for sysv/eabi ABIs
>
> this patch was developed by FreeBSD PowerPC developer Nathan
> Whitehorn and enabled him to compile most of FreeBSD.

I am not very familiar with this code, but can't you just create a
FreeBSDPPCTargetInfo  (or SYSVPPCTargetInfo) and declare the methods
there?

> fwiw - the only missing thing is va_arg() implementation
>
>
> thank you for review, Roman
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>


Cheers,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list