[M3devel] cm3 llvm backend?

Jay K jay.krell at cornell.edu
Tue Jun 28 01:44:19 CEST 2016

gcc has these other frontends -- ada and java at least.If they are much used -- and I don't know if they are, but if they are, LLVM should expand its goals to replace them.Just my opinion.But either way, other people are using LLVM, like for OCaml and Rust I'm pretty sure.And GPU stuff.So it isn't just C/C++, but may be a happy accident, indeed.

How much of gcc/dwarf is that way?I understand gcc does actually cater to Pascal/Modula-3?Ada some -- the multiple forms of divide, the nested functions (eventhough we have to patch gcc for nested functions, it does have some nested function support already, includinga certain optimization you won't see any any narrow C/C++ compiler -- ok, granted, they have nested functions
in their C frontend.., but still, the divide stuff..)
 - Jay

> Date: Mon, 27 Jun 2016 17:44:13 -0400
> From: hendrik at topoi.pooq.com
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] cm3 llvm backend?
> On Mon, Jun 27, 2016 at 03:19:30PM -0500, Rodney M. Bates wrote:
> > 
> > My big lament about llvm regards producing Dwarf debug info.  Having
> > debug info in this vastly superior format is one of my main reasons
> > for wanting an llvm back end.  From the llvm documentation, it sounded
> > like it would do this, including altering debug info as needed to
> > match any optimizations done.  Then I hit a brick wall, finding out
> > llvm only handles a severe subset of Dwarf, apparently what they felt
> > was needed for C & C++.  More below.
> llvm is an intermediate code for C and C++.  Its address arithmetic is 
> C/C++ arithmetic. Any usability for other languages is a happy 
> accident, whatever they may say.
> -- hendrik
> _______________________________________________
> M3devel mailing list
> M3devel at elegosoft.com
> https://m3lists.elegosoft.com/mailman/listinfo/m3devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20160627/e1c800e1/attachment-0003.html>

More information about the M3devel mailing list