]> Cypherpunks repositories - gostls13.git/commit
runtime: check GOAMD64 compatibility after setting up TLS
authorKeith Randall <khr@golang.org>
Mon, 15 Nov 2021 23:56:39 +0000 (15:56 -0800)
committerKeith Randall <khr@golang.org>
Tue, 16 Nov 2021 23:52:13 +0000 (23:52 +0000)
commit01b6cf09fc9f272d9db3d30b4c93982f4911d120
tree05ab6354315e241b7c3362a703e35988a867e422
parent5e59d6ebd110a7c19770c7d996930ff379ba5726
runtime: check GOAMD64 compatibility after setting up TLS

We need TLS set up to be able to print an error without crashing.

Fixes #49586
Update #45453

Change-Id: I97f0efcd716a8dca614e82ab73f2d855b7277599
Reviewed-on: https://go-review.googlesource.com/c/go/+/364174
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Martin Möhrmann <martin@golang.org>
Trust: Martin Möhrmann <martin@golang.org>
Trust: Keith Randall <khr@golang.org>
src/runtime/asm_amd64.s