Displaying 5 results from an estimated 5 matches for "finnewtyp".
Did you mean:
finnewtype
2007 Sep 20
0
[LLVMdev] Valgrind Help Needed
...gt;getName() != Name) {
1087 Function *F = TheModule->getFunction(Name);
1088 assert(F && F->isDeclaration() && "A function turned
into a global?");
1089
1090 // Replace any uses of "F" with uses of GV.
1091 Value *FInNewType = ConstantExpr::getBitCast(GV, F-
>getType());
(gdb) p Name
$3 = 0x41819430 "\001L_OBJC_PROTOCOL_$_CPTransferThreadObserving"
However TheModule->getFunction(Name) returns NULL and you get ICE at
F->getType() #1091. I'll let you investigate this further ... :)
-
D...
2007 Sep 19
3
[LLVMdev] Valgrind Help Needed
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
2007 Sep 20
2
[LLVMdev] Valgrind Help Needed
...087 Function *F = TheModule->getFunction(Name);
> 1088 assert(F && F->isDeclaration() && "A function turned
> into a global?");
> 1089
> 1090 // Replace any uses of "F" with uses of GV.
> 1091 Value *FInNewType = ConstantExpr::getBitCast(GV, F-
> >getType());
>
>
> (gdb) p Name
> $3 = 0x41819430 "\001L_OBJC_PROTOCOL_$_CPTransferThreadObserving"
>
> However TheModule->getFunction(Name) returns NULL and you get ICE
> at F->getType() #1091. I'll let you inv...
2007 Sep 20
1
[LLVMdev] Valgrind Help Needed
...087 Function *F = TheModule->getFunction(Name);
> 1088 assert(F && F->isDeclaration() && "A function turned
> into a global?");
> 1089
> 1090 // Replace any uses of "F" with uses of GV.
> 1091 Value *FInNewType = ConstantExpr::getBitCast(GV, F-
> >getType());
>
>
> (gdb) p Name
> $3 = 0x41819430 "\001L_OBJC_PROTOCOL_$_CPTransferThreadObserving"
>
> However TheModule->getFunction(Name) returns NULL and you get ICE
> at F->getType() #1091. I'll let you inv...
2007 Sep 20
0
[LLVMdev] Valgrind Help Needed
...on *F = TheModule->getFunction(Name);
>> 1088 assert(F && F->isDeclaration() && "A function
>> turned into a global?");
>> 1089
>> 1090 // Replace any uses of "F" with uses of GV.
>> 1091 Value *FInNewType = ConstantExpr::getBitCast(GV, F-
>> >getType());
>>
>>
>> (gdb) p Name
>> $3 = 0x41819430 "\001L_OBJC_PROTOCOL_$_CPTransferThreadObserving"
>>
>> However TheModule->getFunction(Name) returns NULL and you get ICE
>> at F->getTy...