- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetRedzoneSizeForGlobal (0.26 sec)
-
src/cmd/compile/internal/pkginit/initAsanGlobals.go
g := n.(*ir.Name) size := g.Type().Size() c = typecheck.DefaultLit(ir.NewInt(base.Pos, size), types.Types[types.TUINTPTR]) setField("size", c, i) // Assign globals[i].sizeWithRedzone. rzSize := GetRedzoneSizeForGlobal(size) sizeWithRz := rzSize + size c = typecheck.DefaultLit(ir.NewInt(base.Pos, sizeWithRz), types.Types[types.TUINTPTR]) setField("sizeWithRedzone", c, i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:24 UTC 2023 - 8.7K bytes - Viewed (0)