Displaying 3 results from an estimated 3 matches for "ericbrunstad".
2009 Oct 19
3
[LLVMdev] Objective-C code in lli
...to load Foundation.framework.
Please see below.
Thanks,
Eric Brunstad
#import <Foundation/Foundation.h>
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog(@"test!");
[pool drain];
return EXIT_SUCCESS;
}
cmu-351714:llvm-2.5 ericbrunstad$ /Users/ericbrunstad/Downloads/
llvm-2.5/Release/bin/lli -force-interpreter=true -stats /Users/
ericbrunstad/Desktop/test/test.o -load=/System/Library/Frameworks/
Foundation.framework/Foundation
Could not resolve external global address:
__CFConstantStringClassReference
0 lli...
2009 Oct 19
0
[LLVMdev] Objective-C code in lli
...t; Eric Brunstad
>
> #import <Foundation/Foundation.h>
>
> int main(int argc, char *argv[])
> {
> NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
> NSLog(@"test!");
> [pool drain];
> return EXIT_SUCCESS;
> }
>
> cmu-351714:llvm-2.5 ericbrunstad$ /Users/ericbrunstad/Downloads/
> llvm-2.5/Release/bin/lli -force-interpreter=true -stats /Users/
> ericbrunstad/Desktop/test/test.o -load=/System/Library/Frameworks/
> Foundation.framework/Foundation
>
> Could not resolve external global address:
> __CFConstantStringClassRe...
2009 Oct 19
1
[LLVMdev] Objective-C code in lli
...oundation/Foundation.h>
>>
>> int main(int argc, char *argv[])
>> {
>> NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
>> NSLog(@"test!");
>> [pool drain];
>> return EXIT_SUCCESS;
>> }
>>
>> cmu-351714:llvm-2.5 ericbrunstad$ /Users/ericbrunstad/Downloads/
>> llvm-2.5/Release/bin/lli -force-interpreter=true -stats /Users/
>> ericbrunstad/Desktop/test/test.o -load=/System/Library/Frameworks/
>> Foundation.framework/Foundation
>>
>> Could not resolve external global address:
>> _...