[cfe-dev] test/CodeGenCXX/references.cpp failing for i386

Ted Kremenek kremenek at apple.com
Mon Oct 19 17:19:10 PDT 2009


Thanks Anders!

On Oct 19, 2009, at 5:12 PM, Anders Carlsson wrote:

> Hi Ted,
>
> I caused this - I'll add a triple for now.
>
> Anders
>
>
> 19 okt 2009 kl. 17.05 skrev Ted Kremenek:
>
>> One of the Clang tests is failing when the target architecture is
>> i386.  For 'test/CodeGenCXX/references.cpp', we get different results
>> depending on whether the target architecture (which for this test is
>> determined by the host) is i386 or x86_64:
>>
>> $ clang-cc -verify -emit-llvm -o - references.cpp -triple i386-apple-
>> darwin10 | FileCheck references.cpp
>> references.cpp:124:34: error: expected string not found in input
>>  // CHECK: call void @_ZN1T1B1fEv
>>                                  ^
>> <stdin>:245:24: note: scanning from here
>>  call void @_ZN1T1BC1Ev(%struct.A* %tmp) ssp
>>                        ^
>>
>> VERSUS
>>
>> $ clang-cc -verify -emit-llvm -o - references.cpp -triple x86_64-
>> apple-darwin10 | FileCheck references.cpp
>>
>> Does this look familiar to anyone?  Notice the small differences in
>> the 'call' instruction.  If this test needs to be made architecture
>> specific, we should add a '-triple' option to the test.
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list