Debian Codegraph @

libgo/go/runtime/internal/atomic/unaligned.go

raw
1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package atomic
6
7 import _ "unsafe" // for go:linkname
8
9 // Let the C code call this function.
10 //go:linkname panicUnaligned
11
12 func panicUnaligned() {
13 panic("unaligned 64-bit atomic operation")
14 }