Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetRedzoneSizeForGlobal (0.26 sec)

  1. 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)
Back to top