diff options
Diffstat (limited to 'vendor/modernc.org/libc/tls_linux_amd64.go')
| -rw-r--r-- | vendor/modernc.org/libc/tls_linux_amd64.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/tls_linux_amd64.go b/vendor/modernc.org/libc/tls_linux_amd64.go index d001bada0..cba2c4437 100644 --- a/vendor/modernc.org/libc/tls_linux_amd64.go +++ b/vendor/modernc.org/libc/tls_linux_amd64.go @@ -10,6 +10,12 @@ func TLSAlloc(p0 *TLS, p1 int) uintptr //go:noescape func TLSFree(p0 *TLS, p1 int) +//go:noescape +func TLSAllocaEntry(p0 *TLS) + +//go:noescape +func TLSAllocaExit(p0 *TLS) + func tlsAlloc(tls *TLS, n int) uintptr { return tls.Alloc(n) } @@ -17,3 +23,11 @@ func tlsAlloc(tls *TLS, n int) uintptr { func tlsFree(tls *TLS, n int) { tls.Free(n) } + +func tlsAllocaEntry(tls *TLS) { + tls.AllocaEntry() +} + +func tlsAllocaExit(tls *TLS) { + tls.AllocaExit() +} |
