[cfe-commits] r75314 - in /cfe/trunk: include/clang/AST/ include/clang/Analysis/PathSensitive/ lib/AST/ lib/Analysis/ lib/CodeGen/ lib/Frontend/ lib/Sema/ test/CodeGenObjC/ test/PCH/ test/SemaObjC/ test/SemaObjCXX/

steve naroff snaroff at apple.com
Sat Jul 11 09:15:46 PDT 2009


On Jul 11, 2009, at 10:27 AM, steve naroff wrote:

>
> On Jul 10, 2009, at 8:56 PM, Fariborz Jahanian wrote:
>
>> Great Steve. It sure was heck of an effort.
>>
>> Started with BlastApp. It asserts in many places. A sample is:
>>
>>   /Volumes/sandbox/llvm/Debug/bin/clang -x objective-c -arch x86_64  
>> -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm- 
>> blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/ 
>> SDKs/MacOSX10.6.sdk -mfix-and-continue -fobjc-gc -mmacosx-version- 
>> min=10.6 -gdwarf-2 -I/Volumes/sandbox/fariborz/radars/BlastApp/ 
>> build/BlastApp.build/Debug/BlastApp.build/BlastApp.hmap -F/Volumes/ 
>> sandbox/fariborz/radars/BlastApp/build/Debug -I/Volumes/sandbox/ 
>> fariborz/radars/BlastApp/build/Debug/include -I/Volumes/sandbox/ 
>> fariborz/radars/BlastApp/build/BlastApp.build/Debug/BlastApp.build/ 
>> DerivedSources/x86_64 -I/Volumes/sandbox/fariborz/radars/BlastApp/ 
>> build/BlastApp.build/Debug/BlastApp.build/DerivedSources -c / 
>> Volumes/sandbox/fariborz/radars/BlastApp/Game.m -o /Volumes/sandbox/ 
>> fariborz/radars/BlastApp/build/BlastApp.build/Debug/BlastApp.build/ 
>> Objects-normal/x86_64/Game.o
>>
>> Assertion failed: ((isa<PointerType>(SrcTy) ==  
>> isa<PointerType>(DstTy)) && "BitCast cannot cast pointer to non- 
>> pointer and vice versa"), function getBitCast, file Constants.cpp,  
>> line 2231.
>> 0   clang-cc          0x00f20b9b PrintStackTrace(void*) + 45
>> 1   clang-cc          0x00f2110d SignalHandler(int) + 351
>> 2   libSystem.B.dylib 0x90edeadb _sigtramp + 43
>> 3   libSystem.B.dylib 0xffffffff _sigtramp + 1863456079
>> 4   libSystem.B.dylib 0x90f6f7cf raise + 26
>> 5   libSystem.B.dylib 0x90f85bcc abort + 93
>>
>
> Hey Fariborz,
>
> Some good news...BlastApp builds clean for me on Leopard (no asserts/ 
> errors:-)
>
> I don't have my SnowLeopard machine handy at the moment. I will try  
> this later.
>
> If you have a Leopard machine handy, can you verify it builds clean  
> for you?
>
> Thanks,
>

Fariborz,

I figured out why I wasn't seeing the bug...I was doing a "Release"  
build (which works fine on both Leopard and SnowLeopard).

The bugs appear specific to -gdwarf-2...

Will investigate,

snaroff


> snaroff
>
>> - Fariborz
>>
>




More information about the cfe-commits mailing list