search for: __objc_classrefs

Displaying 5 results from an estimated 5 matches for "__objc_classrefs".

2010 Nov 12
0
[LLVMdev] Collapse OBJC_CLASSLIST_REFERENCES globals in llvm-link?
...ello list, I'm wondering about the feasibility of collapsing the following two globals within llvm-link: @"OBJC_CLASSLIST_REFERENCES_$_2" = private global %struct.objc_class* bitcast (%struct._class_t* @"OBJC_CLASS_$_NSString" to %struct.objc_class*), section "__DATA, __objc_classrefs, regular, no_dead_strip", align 4 @"OBJC_CLASSLIST_REFERENCES_$_8" = private global %struct.objc_class* bitcast (%struct._class_t* @"OBJC_CLASS_$_NSString" to %struct.objc_class*), section "__DATA, __objc_classrefs, regular, no_dead_strip", align 4 The reason we&...
2018 Apr 06
0
Is it possible to execute Objective-C code via LLVM JIT?
...d. 3) I iterate over __objc_classlist sections and register the new classes using objc_allocateClassPair function, register the properties and ivars to these new classes, run objc_registerClassPair to complete the registration. (I still have to implement the protocol registration) 4) I iterate over __objc_classrefs and __objc_superrefs and fix up the class pointers with the new classes created at step 2. 5) I iterate over __objc_classlist and fix up its classes with the new classes created at step 2. The very basic Objective-C code seems to work now without any issues, however when I switch to mixed Objectiv...
2018 Feb 15
2
Is it possible to execute Objective-C code via LLVM JIT?
Hi David, Stanislav, Sorry for the delayed reply. Short version: There hasn't been any progress on this just yet, as I have been busy with an overhaul of the underlying ORC APIs. 1) Hack up something in RuntimeDyldMachO to handle the data structures > currently generated by clang. This is fragile, because the interface > between the compiler and the runtime is not documented, and is
2018 May 03
2
Is it possible to execute Objective-C code via LLVM JIT?
...jc_classlist sections and register the new > classes using objc_allocateClassPair function, register the properties > and ivars to these new classes, run objc_registerClassPair to complete > the registration. (I still have to implement the protocol > registration) > 4) I iterate over __objc_classrefs and __objc_superrefs and fix up the > class pointers with the new classes created at step 2. > 5) I iterate over __objc_classlist and fix up its classes with the new > classes created at step 2. > > The very basic Objective-C code seems to work now without any issues, > however wh...
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: >>> >>> Specifically I explored the latest objc4-723 >>>