search for: pankevich

Displaying 15 results from an estimated 15 matches for "pankevich".

2016 Nov 11
2
Is it possible to execute Objective-C code via LLVM JIT?
...ely the current error handling model in libObject prevents me from replicate all the functions in MachODump. We are working towards that direction but we are not there yet. In the meantime, I won't mind posting some patches when I have time. Steven > On Nov 10, 2016, at 2:03 PM, Stanislav Pankevich <s.pankevich at gmail.com> wrote: > > Hi Lang, Steven, > > Any updates on this? Steven, is there a progress with metadata parser for Objective-C? > > Let us know if we can help somehow. > > Thanks. > > Stanislav > >> On 22 Oct 2016, at 03:21, Lang...
2016 Oct 22
3
Is it possible to execute Objective-C code via LLVM JIT?
...sed ObjC 1 - all my experiments were on arm64. i386 support for ObjC would be nice to have, but it's not a blocker for adding ObjC 2 support. - Lang. On Thu, Oct 20, 2016 at 11:57 AM, Steven Wu <stevenwu at apple.com> wrote: > > > > On Oct 19, 2016, at 11:28 AM, Stanislav Pankevich <s.pankevich at gmail.com> > wrote: > > Hi Lang, Steven, > > At this point it seems that the best next step is for Steven to share his > code, right? Or is there some other work that can be done in parallel? > > > It will take some time to create patch from my exist...
2016 Oct 19
3
Is it possible to execute Objective-C code via LLVM JIT?
...s is something that I'd like to get to eventually, but I have a long to-do list. If you or anyone you know is interested in working on it I'd be happy to provide pointers and code review. >> >> Cheers, >> Lang. >> >> On Tue, Oct 18, 2016 at 1:33 PM, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> Hello, >> >> Is it possible to execute Objective-C code using LLVM JIT? >> >> The original point for my research is this topic on StackOverflow: >> >> All...
2016 Nov 11
2
Is it possible to execute Objective-C code via LLVM JIT?
...bject prevents me from replicate all the functions in MachODump. We are working towards that direction but we are not there yet. In the meantime, I won't mind posting some patches when I have time. >> >> Steven >> >> >>> On Nov 10, 2016, at 2:03 PM, Stanislav Pankevich <s.pankevich at gmail.com <mailto:s.pankevich at gmail.com>> wrote: >>> >>> Hi Lang, Steven, >>> >>> Any updates on this? Steven, is there a progress with metadata parser for Objective-C? >>> >>> Let us know if we can help somehow...
2018 Feb 15
2
Is it possible to execute Objective-C code via LLVM JIT?
...like a reasonable interim solution if it is easier to implement. Steven -- what is the status of the ObjC parsing code these days? -- Lang. On Wed, Feb 14, 2018 at 3:08 AM, David Chisnall via llvm-dev < llvm-dev at lists.llvm.org> wrote: > > > On 13 Feb 2018, at 17:42, Stanislav Pankevich <s.pankevich at gmail.com> > wrote: > > > > On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall > > <David.Chisnall at cl.cam.ac.uk> wrote: > >> On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > &gt...
2018 May 03
2
Is it possible to execute Objective-C code via LLVM JIT?
...them. The performance is obviously terrible, but this punts all the ObjC/Swift metadata parsing to ld64 and dyld (and you get debug info for free!) so it is handy for prototyping. Let me know if you would like me to share the code for that. Cheers, Lang. On Fri, Apr 6, 2018 at 12:19 PM, Stanislav Pankevich <s.pankevich at gmail.com> wrote: > Hi again, > > I had tried to follow David's suggestion to take a step back and look > into codegen instead of hacking on RuntimeDyld but then I quickly > realized that I don't understand what exactly needs to be done to > fully re...
2018 Apr 06
0
Is it possible to execute Objective-C code via LLVM JIT?
...to implement. > > Steven -- what is the status of the ObjC parsing code these days? > > -- Lang. > > > On Wed, Feb 14, 2018 at 3:08 AM, David Chisnall via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> >> >> > On 13 Feb 2018, at 17:42, Stanislav Pankevich <s.pankevich at gmail.com> >> > wrote: >> > >> > On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall >> > <David.Chisnall at cl.cam.ac.uk> wrote: >> >> On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev >> >> <llvm-dev...
2018 Feb 14
3
Is it possible to execute Objective-C code via LLVM JIT?
> On 13 Feb 2018, at 17:42, Stanislav Pankevich <s.pankevich at gmail.com> wrote: > > On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall > <David.Chisnall at cl.cam.ac.uk> wrote: >> On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>> >>> Specificall...
2018 Feb 13
2
Is it possible to execute Objective-C code via LLVM JIT?
On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Specifically I explored the latest objc4-723 > from Apple Open Source and it looks like all of the APIs that allow > the registration of Objective-C classes, selectors, etc. are all very > private. The Objective-C runtime p...
2016 Oct 18
2
Is it possible to execute Objective-C code via LLVM JIT?
...s 0x7fff7a562130 2016-10-18 21:25:58.338 lli[12970:169282] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSAutoreleasePool alloc]: unrecognized selector sent to class 0x7fff7a562130' See also additional discussion here: https://twitter.com/sbpankevich/status/783363161537798144 <https://twitter.com/sbpankevich/status/783363161537798144>. Thanks. Stanislav Pankevich -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161018/e72a7384/attachment.html>...
2016 Oct 18
2
Is it possible to execute Objective-C code via LLVM JIT?
...s are available. This is something that I'd like to get to eventually, but I have a long to-do list. If you or anyone you know is interested in working on it I'd be happy to provide pointers and code review. > > Cheers, > Lang. > > On Tue, Oct 18, 2016 at 1:33 PM, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > Hello, > > Is it possible to execute Objective-C code using LLVM JIT? > > The original point for my research is this topic on StackOverflow: > > All selectors unrecognised whe...
2018 Feb 13
0
Is it possible to execute Objective-C code via LLVM JIT?
On Tue, Feb 13, 2018 at 12:18 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > On 12 Feb 2018, at 22:31, Stanislav Pankevich via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> >> Specifically I explored the latest objc4-723 >> from Apple Open Source and it looks like all of the APIs that allow >> the registration of Objective-C classes, selectors, etc. are all very >> private. > &g...
2017 Jan 26
2
Question about versioning of LVVM IR
Hello, It is likely that I missing something however I have to ask. We are working on Mull project https://github.com/mull-project which deals with LLVM IR in the first place so it is often that we encounter errors like the following one when we do things like parseAssemblyString(IR, Err, GlobalCtx);`: ``` test: <string>:7237:187: error: invalid field 'variable' !1526 = distinct
2018 May 16
1
LLVM JIT 3.9 vs 6.0: How to emitAndFinalize multiple modules correctly?
Hi all, I am having hard time figuring out how I should use the API for JIT in LLVM 6. In LLVM 3.9 I am used to adding all objects at once and emitAndFinalizing them all: handle = objectLayer.addObjectSet(objectFiles, memoryManager, resolver); objectLayer.emitAndFinalize(handle); In LLVM 6.0 the objects are added one by one: auto handle = objectLayer.addObject(objectFile, resolver).get();
2018 Feb 12
0
Is it possible to execute Objective-C code via LLVM JIT?
Hi all, > I actually looked into this recently. It is possible, but takes some non-trivial effort right now: You have to hook into the JIT memory allocator, parse the objective C metadata sections in the object file, then call the objective C runtime to register any newly added classes, protocols and selectors. > I can't release my code as-is: I built it against a hacked up copy of the