Displaying 2 results from an estimated 2 matches for "simplefound".
2007 Jul 19
2
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi there, I'm trying to run trivial Objective-C code that uses the
Foundation framework under MacOS X in lli. It seems that the code will
compile and
run using llc, however fails to work in lli.
SimpleFoundation.m:
----
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
NSLog(@"Hello, World!");
[pool release];
return 0;
}
----
$ llvm-gcc -c -emit-llvm S...
2007 Jul 19
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
...lli. It seems that the code will
> compile and run using llc, however fails to work in lli.
Nice! this is a great project, unfortunately, there are some issues here
:)
I'm CC'ing Marcel, as he has some experience with dynamic generation of
code with the objc runtime library.
> SimpleFoundation.m:
> ----
>
> #import <Foundation/Foundation.h>
>
> int main (int argc, const char * argv[]) {
> NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
>
> // insert code here...
> NSLog(@"Hello, World!");
> [pool release];
>...