go-llvm / llgo

LLVM-based compiler for Go
Other
1.25k stars 81 forks source link

Roll gofrontend to ca381cdd378c #202

Closed pcc closed 9 years ago

pcc commented 10 years ago

This updates us to Go 1.3 release. This isn't ready to go in yet, but I wanted to publish it now to avoid duplicated work. Known issues:

1) The following CLs need to land in gofrontend: https://codereview.appspot.com/110710043/ https://codereview.appspot.com/115870044/ https://codereview.appspot.com/117990043/

2) There is an issue when using Clang which causes frequent panics with the message "fatal error: bad g status". This can be worked around by setting LIBGO_CC=gcc but I would prefer to try to fix this issue before landing this.

axw commented 10 years ago

LGTM when the second issue is resolved. Would you please summarise the issue when you figure it out?

pcc commented 9 years ago

I managed to track down and fix this issue in libgo: https://codereview.appspot.com/146100043/

The issue is summarized in my CL description there.

You can clpatch that CL into gofrontend to try it out. It will take some more work to roll that CL into llgo as we will also need to incorporate some of the newer GC changes into the compiler.

pcc commented 9 years ago

Updated with initial precise GC support. I've created a fresh pull request #215 as this one targets the wrong branch. PTAL.