Displaying 3 results from an estimated 3 matches for "brunstad".
2009 Oct 19
3
[LLVMdev] Objective-C code in lli
Hi,
Is it possible to run Objective-C code in lli? lli does not seem to
want 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 -f...
2009 Oct 19
1
[LLVMdev] Objective-C code in lli
...n the interpreter so I can
provide an application-sandbox by disallowing the invocation of
certain C-functions and also by disallowing the invocation of certain
Objective-C methods.
Thanks,
Eric
On Oct 19, 2009, at 12:01 AM, Chris Lattner wrote:
>
> On Oct 18, 2009, at 6:32 PM, Eric Brunstad wrote:
>
>> Hi,
>>
>> Is it possible to run Objective-C code in lli? lli does not seem
>> to want to load Foundation.framework.
>
> It is definitely possible, but we're not there yet. LLI would have
> to know about objective-c metadata to register it pr...
2009 Oct 19
0
[LLVMdev] Objective-C code in lli
On Oct 18, 2009, at 6:32 PM, Eric Brunstad wrote:
> Hi,
>
> Is it possible to run Objective-C code in lli? lli does not seem to
> want to load Foundation.framework.
It is definitely possible, but we're not there yet. LLI would have to
know about objective-c metadata to register it properly with the
runtime. This i...