comp.lang.ada
 help / color / mirror / Atom feed
From: jparkerg000@gmail.com
Subject: Re: LLVM and Ada
Date: Fri, 21 Oct 2016 06:47:04 -0700 (PDT)
Date: 2016-10-21T06:47:04-07:00	[thread overview]
Message-ID: <36f46056-6126-4c0b-8955-9408e05d0708@googlegroups.com> (raw)
In-Reply-To: <fdcc461d-0800-42e5-a130-a31a7edd5e3b@googlegroups.com>

On Friday, October 21, 2016 at 9:32:04 AM UTC+1, vincent....@gmail.com wrote:
> Le jeudi 20 octobre 2016 20:20:44 UTC+2, Simon Clubley a écrit :
> 
> > There is no viable Ada frontend for current versions of LLVM (AFAIK)
> > although various people have looked at this.
> 
> Thank you Simon for your answer. 
> 
> Why Gnat on LLVM has been abandoned ? Was LLVM less appropriate than GCC for GNAT ?
> 
> My question precisely was not about the Ada frontend in fact but about a binding to use the LLVM from an Ada program that is a sort of compiler. I think that those who ported GNAT to LLVM should have created this kind of binding, no ?
> 
> Kind regards,
> 
> Vincent



The author of the GNAT LLVM compiler posted a few remarks on the subject in 2014. A search of comp.lang.ada should pull up the thread easily enough. I'll cut and paste the text for you.     J.



duncan...@deepbluecap.com 	
10/17/14
Hi,

> > That was the DragonEgg project, wasn't it? I got the impression it
>
> > foundered on some shortcoming of LLVM for non-C languages; not certain
>
> > which, but possibly the one regarding nested functions that Tristan has
>
> > overcome with ghdl.

no, there were no blocking technical problems.  For example I got nested function support working properly a gazillion years ago, as Luke says.  Exception handling took longer to be completely reliable, but that was also resolved years ago too.  In both cases changes needed to be made to LLVM, but those changes are all old hat now.  All that happened is that I lost interest in the project and no-one stepped forward to take it over.  That means that it's been quietly bit rotting for a while now.  For example: to accommodate internal changes in gcc-4.7 and later, dragonegg's ABI support needs to be rewritten, but I'd already lost interest in the project so never did it, which means that while it still mostly sorta works, thanks to some hacks, the plugin easily crashes on Ada tagged types starting from this gcc version.

Ciao, Duncan. 


  parent reply	other threads:[~2016-10-21 13:47 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20 14:28 LLVM and Ada Vincent DIEMUNSCH
2016-10-20 18:20 ` Simon Clubley
2016-10-21  8:32   ` vincent.diemunsch
2016-10-21 10:33     ` Brian Drummond
2016-10-21 12:25       ` vincent.diemunsch
2016-10-22 12:31       ` Lucretia
2016-10-21 13:47     ` jparkerg000 [this message]
2016-10-21 18:33       ` vincent.diemunsch
2016-10-22 12:51     ` Lucretia
2016-10-25 14:34       ` Vincent
2018-03-21 13:08         ` carlojpisani
2018-03-21 14:40           ` Dan'l Miller
2018-03-21 18:23             ` Bojan Bozovic
2018-03-21 18:57               ` Luke A. Guest
2018-03-22 13:57                 ` Dan'l Miller
2018-03-22 15:18                   ` Luke A. Guest
2018-03-22 17:01                     ` Dan'l Miller
2018-03-22 21:14                       ` Luke A. Guest
2018-03-22 21:28                         ` Dan'l Miller
2018-03-22 21:36                           ` Dan'l Miller
2018-03-22 22:14                             ` Luke A. Guest
2018-03-22 23:37                               ` Dan'l Miller
2018-03-22 23:50                                 ` Lucretia
2018-03-22 23:58                                   ` Dan'l Miller
2018-03-23  5:10                                     ` Bojan Bozovic
2018-03-23 14:25                                       ` Dan'l Miller
2018-03-23 14:38                                         ` Dan'l Miller
2018-03-23 16:38                                           ` Shark8
2018-03-25  2:17                                             ` Dan'l Miller
2018-03-25 16:56                                               ` Lucretia
2018-03-25 10:29                                             ` Bojan Bozovic
2018-03-25 11:01                                               ` Bojan Bozovic
2018-03-25 16:58                                               ` Lucretia
2018-03-23 16:43                                       ` Lucretia
2018-03-30 20:46                             ` Dan'l Miller
2018-03-22 12:22           ` Brian Drummond
2016-10-20 23:31 ` Dennis Lee Bieber
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox