- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for cgoCheckPtrWrite (0.26 sec)
-
src/runtime/atomic_pointer.go
// //go:nosplit func atomicstorep(ptr unsafe.Pointer, new unsafe.Pointer) { if writeBarrier.enabled { atomicwb((*unsafe.Pointer)(ptr), new) } if goexperiment.CgoCheck2 { cgoCheckPtrWrite((*unsafe.Pointer)(ptr), new) } atomic.StorepNoWB(noescape(ptr), new) } // atomic_storePointer is the implementation of runtime/internal/UnsafePointer.Store // (like StoreNoWB but with the write barrier). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/ir/symtab.go
AssertE2I *obj.LSym AssertE2I2 *obj.LSym AssertI2I *obj.LSym AssertI2I2 *obj.LSym Asanread *obj.LSym Asanwrite *obj.LSym CgoCheckMemmove *obj.LSym CgoCheckPtrWrite *obj.LSym CheckPtrAlignment *obj.LSym Deferproc *obj.LSym Deferprocat *obj.LSym DeferprocStack *obj.LSym Deferreturn *obj.LSym Duffcopy *obj.LSym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:26 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/cgocheck.go
const cgoWriteBarrierFail = "unpinned Go pointer stored into non-Go memory" // cgoCheckPtrWrite is called whenever a pointer is stored into memory. // It throws if the program is storing an unpinned Go pointer into non-Go // memory. // // This is called from generated code when GOEXPERIMENT=cgocheck2 is enabled. // //go:nosplit //go:nowritebarrier func cgoCheckPtrWrite(dst *unsafe.Pointer, src unsafe.Pointer) { if !mainStarted {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
wbaddr = f.Entry.NewValue1A(initpos, OpAddr, f.Config.Types.UInt32Ptr, wbsym, sb) wbZero = f.fe.Syslook("wbZero") wbMove = f.fe.Syslook("wbMove") if buildcfg.Experiment.CgoCheck2 { cgoCheckPtrWrite = f.fe.Syslook("cgoCheckPtrWrite") cgoCheckMemmove = f.fe.Syslook("cgoCheckMemmove") } const0 = f.ConstInt32(f.Config.Types.UInt32, 0) // allocate auxiliary data structures for computing store order
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
ir.Syms.AssertI2I2 = typecheck.LookupRuntimeFunc("assertI2I2") ir.Syms.CgoCheckMemmove = typecheck.LookupRuntimeFunc("cgoCheckMemmove") ir.Syms.CgoCheckPtrWrite = typecheck.LookupRuntimeFunc("cgoCheckPtrWrite") ir.Syms.CheckPtrAlignment = typecheck.LookupRuntimeFunc("checkptrAlignment") ir.Syms.Deferproc = typecheck.LookupRuntimeFunc("deferproc")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)