[cfe-dev] 2009-10-20-GlobalDebug.c failing on Windows

Chris Lattner clattner at apple.com
Wed Oct 21 13:18:57 PDT 2009


On Oct 21, 2009, at 1:05 PM, Benjamin Kramer wrote:

>
> Am 21.10.2009 um 21:25 schrieb John Thompson:
>
>> Hmmm, I tried passing -Xclang "-triple=i686-pc-linux-gnu" to
>> clang.exe, but
>> apparently it conflicts with a -target directive the driver puts
>> in.  But
>> I'm not sure this is the proper format.  The driver didn't like just
>> "-target=i686-pc-linux-gnu" either.
>
> There is "-ccc-host-triple" to override the triple passed to clang-cc.
>
>> Is this a bug in the driver, not checking for options being  
>> overidden?
>> What does the -dA option do?  I don't see it in "clang -help".
>
> verbose assembly
>
>> Which triple should it be using?
>
> The test was failing on all non-darwin platforms so I forced the
> triple to i386-apple-darwin10 in r84777.

Forcing the triple is fairly brute force. Does it work if you change  
the check line to:

// CHECK: asciz "global" {{.*}}DW_AT_MIPS_linkage_name

?

-Chris



More information about the cfe-dev mailing list