[LLVMdev] Valgrind Help Needed

Bill Wendling isanbard at gmail.com
Wed Sep 19 16:48:20 PDT 2007


Hi all,

This program:

@protocol CPTransferThreadObserving;

@interface CPMode {}
@end

@implementation CPMode
-(void) copyInBackgroundAndNotifyUsingPorts {
  id client;
  [client setProtocolForProxy:
            @protocol(CPTransferThreadObserving)];
}
@end

produces this internal compiler error:

$ llvm-gcc -x objective-c -arch ppc64 -std=c99 -c testcase.mi
testcase.mi:12: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.

If I run this with a debug version of LLVM, it doesn't ICE. I don't
have access to a Linux machine, but if someone does, could they run
valgrind on this to see if anything bad is happening?

Thanks!
-bw



More information about the llvm-dev mailing list