...
Text file
src/runtime/cgo/gcc_signal2_ios_arm64.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//go:build lldb
6
7// Used by gcc_signal_darwin_arm64.c when doing the test build during cgo.
8// We hope that for real binaries the definition provided by Go will take precedence
9// and the linker will drop this .o file altogether, which is why this definition
10// is all by itself in its own file.
11void __attribute__((weak)) xx_cgo_panicmem(void) {}
View as plain text