Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for asan (0.03 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    // instrumentFields instruments a read/write operation on addr.
    // If it is instrumenting for MSAN or ASAN and t is a struct type, it instruments
    // operation for each field, instead of for the whole struct.
    func (s *state) instrumentFields(t *types.Type, addr *ssa.Value, kind instrumentKind) {
    	if !(base.Flag.MSan || base.Flag.ASan) || !t.IsStruct() {
    		s.instrument(t, addr, kind)
    		return
    	}
    	for _, f := range t.Fields() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top