mirror of
https://github.com/golang/go.git
synced 2025-05-29 11:25:43 +00:00
runtime/cgo: mark fatalf as noreturn
Fixes #64553 Change-Id: I7860cd9ba74d70a7d988538ea4df8e122f94cde6 GitHub-Last-Rev: 06164374734aef5b94566930426005ad66d0a5b6 GitHub-Pull-Request: golang/go#64727 Reviewed-on: https://go-review.googlesource.com/c/go/+/550115 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org> Run-TryBot: Mauri de Souza Meneguzzo <mauri870@gmail.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
db99b9b17c
commit
0286a0822b
@ -76,7 +76,7 @@ void x_cgo_getstackbound(uintptr bounds[2]);
|
|||||||
/*
|
/*
|
||||||
* Prints error then calls abort. For linux and android.
|
* Prints error then calls abort. For linux and android.
|
||||||
*/
|
*/
|
||||||
void fatalf(const char* format, ...);
|
void fatalf(const char* format, ...) __attribute__ ((noreturn));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Registers the current mach thread port for EXC_BAD_ACCESS processing.
|
* Registers the current mach thread port for EXC_BAD_ACCESS processing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user