Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for FieldTrack (0.3 sec)

  1. test/fixedbugs/issue47928.go

    // run -goexperiment fieldtrack
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var i interface{} = new(T)
    	if _, ok := i.(interface{ Bad() }); ok {
    		panic("FAIL")
    	}
    }
    
    type T struct{ U }
    
    type U struct{}
    
    //go:nointerface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 24 18:02:21 UTC 2021
    - 386 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_concurrent_backend.txt

    # Tests golang.org/issue/48490
    # cmd/go should enable concurrent compilation by default
    
    # Reset all experiments, since one of them can disable
    # concurrent compilation, e.g: fieldtrack.
    env GOEXPERIMENT=none
    
    env GOMAXPROCS=4
    go build -n -x -a fmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 05 01:30:56 UTC 2021
    - 265 bytes
    - Viewed (0)
  3. test/fixedbugs/issue42686.go

    // compile -goexperiment fieldtrack
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func a(x struct{ f int }) { _ = x.f }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 18 21:27:21 UTC 2021
    - 281 bytes
    - Viewed (0)
  4. test/fixedbugs/issue30862.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"issue30862.dir/b"
    )
    
    // Test case for issue 30862.
    
    // Be aware that unless GOEXPERIMENT=fieldtrack is set when building
    // the compiler, this test will fail if executed with a regular GC
    // compiler.
    
    func main() {
    	bad := b.Test()
    	if len(bad) > 0 {
    		for _, s := range bad {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 18:43:12 UTC 2021
    - 549 bytes
    - Viewed (0)
  5. test/typeparam/mdempsky/15.go

    // run -goexperiment fieldtrack
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that generics, promoted methods, and //go:nointerface
    // interoperate as expected.
    
    package main
    
    import (
    	"reflect"
    )
    
    func TypeString[T any]() string {
    	return reflect.TypeOf(new(T)).Elem().String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/main.go

    	bench.Start("deadcode")
    	deadcode(ctxt)
    
    	bench.Start("linksetup")
    	ctxt.linksetup()
    
    	bench.Start("dostrdata")
    	ctxt.dostrdata()
    	if buildcfg.Experiment.FieldTrack {
    		bench.Start("fieldtrack")
    		fieldtrack(ctxt.Arch, ctxt.loader)
    	}
    
    	bench.Start("dwarfGenerateDebugInfo")
    	dwarfGenerateDebugInfo(ctxt)
    
    	bench.Start("callgraph")
    	ctxt.callgraph()
    
    	bench.Start("doStackCheck")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/internal/bootstrap_test/experiment_toolid_test.go

    	}
    
    	// Build a package in a mode not handled by the make script.
    	runCmd(t, gorootSrc, env, goCmdPath, "build", "-race", "archive/tar")
    
    	// Rebuild the toolchain with GOEXPERIMENT.
    	env = append(env, "GOEXPERIMENT=fieldtrack")
    	runCmd(t, gorootSrc, env, makeScriptPath)
    
    	// Verify compiler version string.
    	gotVersion = bytes.TrimSpace(runCmd(t, gorootSrc, env, goCmdPath, "tool", "compile", "-V=full"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 18:47:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/internal/goexperiment/flags.go

    //
    // For the baseline experimental configuration, see
    // objabi.experimentBaseline.
    //
    // If you change this struct definition, run "go generate".
    type Flags struct {
    	FieldTrack        bool
    	PreemptibleLoops  bool
    	StaticLockRanking bool
    	BoringCrypto      bool
    
    	// Regabi is split into several sub-experiments that can be
    	// enabled individually. Not all combinations work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/cmd/link/doc.go

    	-installsuffix suffix
    		Look for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix
    		instead of $GOROOT/pkg/$GOOS_$GOARCH.
    	-k symbol
    		Set field tracking symbol. Use this flag when GOEXPERIMENT=fieldtrack is set.
    	-libgcc file
    		Set name of compiler support library.
    		This is only used in internal link mode.
    		If not set, default value comes from running the compiler,
    		which may be set by the -extld option.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/expr.go

    	}
    	if outer.Sym() == nil {
    		base.Errorf("tracked field must be in named struct type")
    	}
    
    	sym := reflectdata.TrackSym(outer, field)
    	if ir.CurFunc.FieldTrack == nil {
    		ir.CurFunc.FieldTrack = make(map[*obj.LSym]struct{})
    	}
    	ir.CurFunc.FieldTrack[sym] = struct{}{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top