[cfe-commits] "make test" fails for several Objective C files

Fariborz Jahanian fjahanian at apple.com
Wed Oct 17 13:48:25 PDT 2007


On Oct 17, 2007, at 1:37 PM, Fariborz Jahanian wrote:

> I saw one failure cocoa.m but not those in Ted;s list, after clang  
> update. I am now updating llvm and see if things change.

llvm updated, clang update. I see one new failure:

Sema/cocoa.m
******************** TEST 'Sema/cocoa.m' FAILED! ********************
Command:
  clang Sema/cocoa.m -arch ppc
Output:
Assertion failed: (E->getType()->isPointerType() && "EvalAddr only  
works on pointers"), function EvalAddr, file SemaChecking.cpp, line 519.
0   clang                               0x001d258f  
_ZN40_GLOBAL__N_Signals.cpp_00000000_CAFC354015PrintStackTraceEv + 45
1   clang                               0x001d2935  
_ZN40_GLOBAL__N_Signals.cpp_00000000_CAFC354013SignalHandlerEi + 323
2   libSystem.B.dylib                   0x95cf097b _sigtramp + 43
3   ???                                 0xffffffff 0x0 + 4294967295
4   libSystem.B.dylib                   0x95d69782 raise + 26
5   libSystem.B.dylib                   0x95d78d3f abort + 73

...

- Fariborz

>
> - fariborz
>
> On Oct 17, 2007, at 1:29 PM, Ted Kremenek wrote:
>
>> I'll investigate a little more and see what the problem is.
>>
>> On Oct 17, 2007, at 1:23 PM, Steve Naroff wrote:
>>
>>>
>>> On Oct 17, 2007, at 1:04 PM, Ted Kremenek wrote:
>>>
>>>> I'm getting the following test failures for "make test" (latest  
>>>> version of clang & llvm).  Should I be expecting these to fail  
>>>> right now?
>>>
>>> No...there should be no failures.
>>>
>>> I just updated/built and all the ObjC tests pass.
>>>
>>> Odd,
>>>
>>> snaroff
>>>
>>>>
>>>> (kremenek at grue:clang)$ make test
>>>> cd test; make
>>>> <SNIP>
>>>> Sema/DoubleMethod.m
>>>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>>>> ********************
>>>> Command:
>>>>  clang -fsyntax-only -verify Sema/DoubleMethod.m
>>>> Output:
>>>> Errors expected but not seen:
>>>>   Line 13: previous declaration is here
>>>>   Line 14: duplicate declaration of method 'method'
>>>> ******************** TEST 'Sema/DoubleMethod.m' FAILED!  
>>>> ********************
>>>> Sema/alias-test-1.m
>>>> Sema/alias-test-2.m
>>>> Sema/arg-duplicate.c
>>>> Sema/arg-invalid.c
>>>> Sema/argument-checking.m
>>>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>>>> ********************
>>>> Command:
>>>>  clang -fsyntax-only -verify Sema/argument-checking.m
>>>> Output:
>>>> Errors expected but not seen:
>>>>   Line 23: incompatible types passing 'int' to method expecting  
>>>> 'struct S'
>>>>   Line 24: incompatible types passing 'int' to method expecting  
>>>> 'struct S'
>>>> Errors seen but not expected:
>>>>   Line 9: cannot find definition of 'id'
>>>>   Line 11: cannot find definition of 'id'
>>>>   Line 12: cannot find definition of 'id'
>>>>   Line 16: use of undeclared identifier 'id'
>>>>   Line 22: use of undeclared identifier 'obj'
>>>>   Line 22: expected expression
>>>>   Line 23: use of undeclared identifier 'obj'
>>>>   Line 23: expected expression
>>>>   Line 24: use of undeclared identifier 'obj'
>>>>   Line 24: expected expression
>>>> Warnings expected but not seen:
>>>>   Line 22: incompatible types passing 'int' to method expecting  
>>>> 'char *'
>>>> ******************** TEST 'Sema/argument-checking.m' FAILED!  
>>>> ********************
>>>> ...
>>>> (other errors omitted which look like crashes).
>>>> _______________________________________________
>>>> cfe-commits mailing list
>>>> cfe-commits at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071017/25fd3b6b/attachment.html>


More information about the cfe-commits mailing list