github.com/bir3/gocompiler@v0.9.2202/src/cmd/cgo/internal/test/issue4273.c (about) 1 // Copyright 2012 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 #ifdef __ELF__ 6 __attribute__((weak)) 7 __attribute__((visibility("hidden"))) 8 void _compilerrt_abort_impl(const char *file, int line, const char *func) { 9 } 10 #endif