Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Examples of creating Obj-C objects?"
2016 Sep 26
4
objc object file generated for gnustep runtime for ELF target is too big
Dear community,
I'm using gnustep runtime -fobjc-runtime=gnustep with gnustep-libobjc2 (https://github.com/gnustep/libobjc2) and
Cocotron/Chameleon.
For following source file
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
int main(void)
{
NSString *str = [NSString stringWithCString:"TEST"];
2013 Apr 13
1
[LLVMdev] Q: clang, obj-c: Hashing selectors to SEL's.
I'm trying to understand the method dispatch in objc_MsgSend.
At some point during compilation, ascii selectors are hashed
into integer SEL's. Is this hash somehow guaranteed to be unique?
If so, how? If not, how are collisions handled? Is this hashing
done during the link phase?
Any insights/pointers to the code/documentation related to this
hashing would be greatly appreciated.
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
Hi All,
I need to build clang/llvm from source on an Ubuntu Linux system, in order to build the gnustep Objective-C environment. I was able to build clang using cmake without a problem (following the instructions at clang.llvm.org/get_started.html), but when I tried to build gnustep, I found that clang failed to compile an autoconf-generated program. The compile error in the configure log was:
2020 Oct 12
2
[RFC] Analysis and runtime check of objc_direct/objc_non_runtime_protocol
Currently diagnostics related to objc_direct/objc_non_runtime_protocol are
done at each compilation unit. Even with these diagnostics, we will see
issues at runtime
- Due to lack of global scope for our diagnostics. We can catch these
issues with a global analysis.
- Due to usages of dynamic APIs that require the metadata. We can catch
these issues with runtime checks. Builds with
2015 Sep 29
2
Building clang in llvm-3.7 on Linux with RT support enabled
Building the BlocksRuntime isn’t supported via CMake at the moment. It should be pretty straightforward to make it work, but it currently isn’t supported.
-Chris
> On Sep 29, 2015, at 9:45 AM, Alex Wang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> As far as I know the makefile in there isn't the makefile that gets executed during the cmake build -- cmake generates its
2008 Dec 22
6
MacOS X cocoa and carbon for Linux?
Do you know about such implementation of the Mac OS API for Linux ?
I was thinking would this be hard to be done ? Having in mind that the MacOS and Linux OSes have much more in common than Linux and Windows. The benefits of such projects will be great , as there is great diversity of applications for MacOS ,and if they can be used native in Linux there will be great advantage for all Linux users.
2014 Sep 30
4
[LLVMdev] Barking Up The Wrong Tree?
Hi Reid,
Thanks for the reply. Comments inline below.
Regards,
Eric
On 9/29/14, 5:51 PM, Reid Kleckner wrote:
> I think any port will involve some changes, but it's really hard to
> say which porting approach will be the least painless beforehand.
> Aside from _MSC_VER incompatibilities messing up portability headers,
> I think any changes you make to support clang on Windows
2013 Jan 11
1
[LLVMdev] Requesting Feedback on my LLVM How-To
On Jan 10, 2013, at 22:10 , Sean Silva <silvas at purdue.edu> wrote:
> On Thu, Jan 10, 2013 at 8:25 AM, Rick Mann <rmann at latencyzero.com> wrote:
>> I've been writing up my experience embedding LLVM in a Cocoa app. If anyone would like to see it and give feedback, I'd appreciate it. It's still not finished, but the first part is there:
>>
>>
2013 Jul 30
2
looking for a comprehensive list of centos-compatible yum repositories (for gnustep program)
I installed CentOS 6.4 on a partition on my computer a few days ago, and
i'm trying to equip it with the software i think i need.
For example, i need, or i think i need, a couple of gnustep programs
for uploading
images from my digital camera (the programs being openapp and Camera.app).
I imagine that these are old enough that they must surely exist
in rpms somewhere.
But i apparently
2012 May 07
2
[LLVMdev] Running Objective-C in the JIT
Hello, I've been trying to get some OSX code to execute within the JIT,
and it's been causing me some major headaches!
I'm attempting to JIT-compile some code which uses external OSX obj-C
classes (Cocoa, etc), and also contains its own embedded obj-C classes.
My first hurdle in doing this was that when the code tried to call Cocoa
classes, the obj-C selectors weren't being
2012 May 08
3
[LLVMdev] Running Objective-C in the JIT
Thanks for the info!
Yes, the problem is certainly that the JITed code isn't registering
its classes, but even after digging through all the runtime code I
can't find anything that seems suitable for doing this.. The nearest
function I could find was _objc_init_image, but that seems to be for
win32!
I assume that the way it works must be that clang creates some static
data structures
2015 Sep 30
2
Integration of AVR backend
Exciting!!!
> On Sep 29, 2015, at 17:03 , Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> ----- Original Message -----
>> From: "Dylan McKay via llvm-dev" <llvm-dev at lists.llvm.org>
>> To: llvm-dev at lists.llvm.org, "David Siegel" <agnat at me.com>
>> Sent: Thursday, September 3, 2015 10:35:16 PM
>>
2015 Oct 27
4
Code owner for the new AVR backend
On 27 Oct 2015, at 09:48, Senthil Kumar <senthil.thecoder at gmail.com> wrote:
>
> Haven't worked on this yet, but I work on the gcc AVR backend (and binutils), and I'm very interested in this - I intend to work on it in my spare time.
And do you have any comments / objections to Dylan becoming the code owner?
David
2013 Jan 10
4
[LLVMdev] Requesting Feedback on my LLVM How-To
I've been writing up my experience embedding LLVM in a Cocoa app. If anyone would like to see it and give feedback, I'd appreciate it. It's still not finished, but the first part is there:
http://roderickmann.org/stuff/LLVMTut/HowToEmbedLLVMWithXcode.html
If it's worthy, hopefully it'll end up in the LLVM docs.
--
Rick
2013 Jan 09
3
[LLVMdev] ExecutionEngine always comes back NULL
On Jan 8, 2013, at 13:55 , "Kaylor, Andrew" <andrew.kaylor at intel.com> wrote:
> You need to include 'llvm/ExecutionEngine/JIT.h' (or 'llvm/ExecutionEngine/JIT.h' if you want that engine) from your main file. Including that file forces the JIT static constructor to be linked into your executable. Without it, the JIT static constructor gets optimized out and
2013 Apr 24
3
[LLVMdev] Dynamic Type Lookup ...
Hello everyone, I would like to implement functionality something like the
following in my sample language.....
class A {
Object attrA1
}
class B {
int attrB1
bool method methTestB ( .... )
}
main () {
bool test
Object a
a = new Class A()
a.attr1 = new Class B()
a.attrB1 = 5
test = a.methTestB(...)
}
I assume that I will need:
- some type of runtime lookup table to store
2010 May 27
2
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
This is certainly an option... but keeping up an LLVM backend for the 360 seems like a bit much work. Using Clang's rewriter requires no real low-level maintenance, just creating and maintaining a C library for support functions emitted by the compiler (e.g. objc_msgSend).
It seems to create a backend for LLVM targeting the 360 I wouldn't need to create something that outputs XEX's
2009 Jun 30
1
xen-common override disparity
There are disparities between your recently accepted upload and the
override file for the following file(s):
xen-utils-common_3.3.1-1_all.deb: package says section is admin, override says kernel.
Please note that a list of new sections were recently added to the
archive: cli-mono, database, debug, fonts, gnu-r, gnustep, haskell,
httpd, java, kernel, lisp, localization, ocaml, php, ruby, vcs,
2012 May 07
0
[LLVMdev] Running Objective-C in the JIT
Le 7 mai 2012 à 17:07, Jules a écrit :
> Hello, I've been trying to get some OSX code to execute within the JIT,
> and it's been causing me some major headaches!
>
> I'm attempting to JIT-compile some code which uses external OSX obj-C
> classes (Cocoa, etc), and also contains its own embedded obj-C classes.
>
> My first hurdle in doing this was that when the
2009 Nov 16
1
xen-3 override disparity
There are disparities between your recently accepted upload and the
override file for the following file(s):
xen-utils-3.4_3.4.2-1_amd64.deb: package says section is misc, override says admin.
Please note that a list of new sections were recently added to the
archive: cli-mono, database, debug, fonts, gnu-r, gnustep, haskell,
httpd, java, kernel, lisp, localization, ocaml, php, ruby, vcs,