mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
the maximum size of the Xsave area was previously hardcoded but the CPUID instruction can be used to determine its maximum size.
8 lines
101 B
Go
8 lines
101 B
Go
//+build !amd64
|
|
|
|
package amd64util
|
|
|
|
func AMD64XstateMaxSize() int {
|
|
return _XSTATE_MAX_KNOWN_SIZE
|
|
}
|