...

Text file src/pkg/runtime/cgo/gcc_signal2_darwin_armx.c

     1	// Copyright 2017 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	// +build lldb
     6	// +build darwin
     7	// +build arm arm64
     8	
     9	// Used by gcc_signal_darwin_armx.c when doing the test build during cgo.
    10	// We hope that for real binaries the definition provided by Go will take precedence
    11	// and the linker will drop this .o file altogether, which is why this definition
    12	// is all by itself in its own file.
    13	void __attribute__((weak)) xx_cgo_panicmem(void) {}

View as plain text