[PATCH] D15188: [llgo] Roll gofrontend forward

Andrew Wilkins via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 06:17:58 PST 2015


axw created this revision.
axw added a reviewer: pcc.
axw added a subscriber: llvm-commits.

Switch gofrontend to using go.googlesource.com, and
update to 81eb6a3f425b2158c67ee32c0cc973a72ce9d6be.

There are various changes required to update to the
go 1.5 runtime:
 - typemap.go is changed to accommodate the change
   in representation for equal/hash algorithms, and
   the removal of the zero value/type.
 - CMakeLists.txt is updated to add the build tree to
   the package search path, so internal packages,
   which are not installed, are found.
 - various files changes due to removal of
   __go_new_nopointers; the same change as in D11863,
   but with NoUnwindAttribute added to the added
   runtime functions which are called with "callOnly".
 - minor cleanups in ssa.go while investigating issues
   with unwinding/panic handling.
 - removed caching/reuse of __go_runtime_error blocks.
   Reusing the block interacts badly with exception
   handling/unwinding with optimisations enabled.
   Removing this enables TestSetPanicOnFault to pass.

I've not been able to get to the bottom of the issue
with reusing __go_runtime_error blocks. Thoughts on
how to debug this would be most welcome.

http://reviews.llvm.org/D15188

Files:
  CMakeLists.txt
  irgen/errors.go
  irgen/runtime.go
  irgen/ssa.go
  irgen/typemap.go
  irgen/value.go
  libgo-check-failures.diff
  update_third_party.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15188.41746.patch
Type: text/x-patch
Size: 29313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151203/a3c4a10b/attachment.bin>


More information about the llvm-commits mailing list