noescape hides a pointer from escape analysis. noescape is the identity function but escape analysis doesn't think the output depends on the input. noescape is inlined and currently compiles down to zero instructions. USE CAREFULLY! This was copied from the runtime; see issues 23382 and 7921. go:n
(p unsafe.Pointer)
| 846 | // |
| 847 | //go:nosplit |
| 848 | func noescape(p unsafe.Pointer) unsafe.Pointer { |
| 849 | x := uintptr(p) |
| 850 | return unsafe.Pointer(x ^ 0) |
| 851 | } |
| 852 | |
| 853 | func alignedSize(t reflect.Type) uintptr { |
| 854 | a := t.Align() |
no outgoing calls
no test coverage detected
searching dependent graphs…