From 6436a4abd7a2f3a60b230453295dba199d8a59c3 Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Tue, 15 Mar 2016 05:36:43 +0000 Subject: [llgo] Roll gofrontend forward 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. Differential Revisision: http://reviews.llvm.org/D15188 llvm-svn: 263536 --- .../gofrontend/libgo/go/runtime/os_netbsd.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 llgo/third_party/gofrontend/libgo/go/runtime/os_netbsd.go (limited to 'llgo/third_party/gofrontend/libgo/go/runtime/os_netbsd.go') diff --git a/llgo/third_party/gofrontend/libgo/go/runtime/os_netbsd.go b/llgo/third_party/gofrontend/libgo/go/runtime/os_netbsd.go deleted file mode 100644 index f000c5e9f64..00000000000 --- a/llgo/third_party/gofrontend/libgo/go/runtime/os_netbsd.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package runtime - -import "unsafe" - -func setitimer(mode int32, new, old unsafe.Pointer) -func sigaction(sig int32, new, old unsafe.Pointer) -func sigaltstack(new, old unsafe.Pointer) -func sigprocmask(mode int32, new, old unsafe.Pointer) -func sysctl(mib *uint32, miblen uint32, out *byte, size *uintptr, dst *byte, ndst uintptr) int32 -func lwp_tramp() -func raise(sig int32) -func getcontext(ctxt unsafe.Pointer) -func lwp_create(ctxt unsafe.Pointer, flags uintptr, lwpid unsafe.Pointer) int32 -func lwp_park(abstime unsafe.Pointer, unpark int32, hint, unparkhint unsafe.Pointer) int32 -func lwp_unpark(lwp int32, hint unsafe.Pointer) int32 -func lwp_self() int32 -- cgit v1.2.3