[LLVMdev] Proposal: add Go frontend subproject based on llgo

Peter Collingbourne
Thu, 20 Nov 2014 00:58:08 -0000

On Thu, Nov 20, 2014 at 12:19:06AM +0100, Joerg Sonnenberger
wrote:
> On Wed, Nov 19, 2014 at 01:53:17PM -0800, Peter Collingbourne wrote:
> > llgo depends on certain third-party components, namely a copy of the
Go
> > standard library (libgo), a Go program analysis library (go.tools) and
two
> > library dependencies of the standard library (libbacktrace and
libffi).
>
> I think providing a better alternative to libffi is already a goal of
> some people, but what is libbacktrace needed for? What is not provided
> by the Itanium Unwind ABI?

According to the libbacktrace readme file:

> As of September 2012, libbacktrace only supports ELF executables with
> DWARF debugging information.  The library is written to make it
> straightforward to add support for other object file and debugging
> formats.

Ian (the author of libbacktrace) may be able to provide more context.

Thanks,
--
Peter