]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] runtime: mark racecallbackthunk as ABIInternal
authorCherry Zhang <cherryyz@google.com>
Tue, 2 Feb 2021 23:09:03 +0000 (18:09 -0500)
committerCherry Zhang <cherryyz@google.com>
Fri, 5 Feb 2021 16:52:30 +0000 (16:52 +0000)
commite79c2fd428372f64e6183bed9f765c1556816111
tree935481ca69d77ee61f404a02ca678144f99e81ce
parent7cc6de59f25911ff786a4d54420f2ddbf21c00f2
[dev.regabi] runtime: mark racecallbackthunk as ABIInternal

racecallbackthunk is called from C, and it needs to follow C ABI.
The assembly code preserves C callee-save registers. It must not
be called via wrappers, which may not preserve those registers.

Change-Id: Icd72c399f4424d73c4882860d85057fe2671f6aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/289194
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/runtime/race_amd64.s