[MacRuby-devel] LLVM 2.8

2010-09-24 Thread Craig Bosma
Hi,

Is any effort being made to synchronize the upcoming MacRuby 0.7
release with the upcoming LLVM 2.8 release? How big are the changes to
LLVM between the preferred MacRuby version (r106781) and the latest RC
(https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_28/rc2, r114689)?

MacRuby HEAD doesn't build with 2.8rc2, (at a glance) related to the
following changes listed here:
http://llvm.org/docs/ReleaseNotes.html#whatsnew

 * LLVM 2.8 changes the internal order of operands in InvokeInst and
CallInst. To be portable across releases, resort to CallSite and the
high-level accessors, such as getCalledValue and setUnwindDest.
* You can no longer pass use_iterators directly to cast<> (and
similar), because these routines tend to perform costly dereference
operations more than once. You have to dereference the iterators
yourself and pass them in.

I'm not expert on LLVM or MacRuby, but I'd like to see compatibility
between 'stable' versions, so I'm happy to help if I can.

Craig
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] LLVM 2.8

2010-09-27 Thread Craig Bosma
Thanks Laurent,

I am interested in learning more about MacRuby/LLVM internals, so
perhaps this is a good opportunity. I created a patch (attached) that
gets MacRuby building with LLVM 2.8rc2, but I'm quite certain that
this bit:

 dbg_mdkind = context.getMDKindID("dbg");
-assert(dbg_mdkind != 0);
+//assert(dbg_mdkind != 0);

is all wrong. I presume that the assertion is there to verify the
presence of debug metadata, but beyond that -- where the debug
metadata is created, what may have changed in 2.8 pertaining to
metadata, or even the basic metadata model/API of LLVM are currently
beyond me. Any suggestions for a basic primer on LLVM's architecture,
or pointers on where to start digging?

I *think* the other changes are straightforward (per the 2.8 release notes).

Also, I see there are a lot of rake tests; which one(s) would be a
good sanity check when hacking on MacRuby?

Craig
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] LLVM 2.8

2010-09-27 Thread Craig Bosma
Oh, and here's that patch that I omitted.

Craig


macruby_llvm_28.patch
Description: Binary data
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] craig.bosma

2013-07-20 Thread Craig Bosma
http://aquanoordlimburg.be/la/rjul.wlpaaymjytid





craig.bosma


7/21/2013 12:16:32 AM
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macruby-devel