[llvm-commits] [llvm-gcc-4.0] r43098 - /llvm-gcc-4.0/trunk/gcc/llvm-convert.cpp

Bill Wendling isanbard at gmail.com
Fri Oct 19 11:42:12 PDT 2007


On 10/19/07, Devang Patel <dpatel at apple.com> wrote:
>
> On Oct 19, 2007, at 11:17 AM, Bill Wendling wrote:
>
> >> "-arch i386" is an apple-ism, and Foundation.h is part of the mac
> >> system libraries.  Bill, can you please adjust the test to not
> >> include a foundation header?
> >>
> > I'll give it a shot. I'm not an Objective C expert by any stretch. :-)
> > Is there a platform-neutral equivalent flag that does with "-arch
> > i386" does?
>
>
> No. There is not any need for such thing on other targets, because
> they don't have universal compiler binaries.
>
> "-arch i386" selects compiler that targets i386, on other targets you
> select it by invoking appropriate gcc driver yourself.
>
> Why do you want to restrict this test for "-arch i386" ? How do you
> restrict an llvm code generation test for an architecture ?
>
On 64-bit platforms, it's reasonable for it to use Unwind_Resume. So I
wanted to make sure that it really only tested this condition on
32-bit systems...

-bw



More information about the llvm-commits mailing list