Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for debugtextsize (0.18 sec)

  1. src/cmd/link/internal/ld/ld_test.go

    	}
    
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	t.Parallel()
    	dir := t.TempDir()
    
    	// NB: the use of -ldflags=-debugtextsize=1048576 tells the linker to
    	// split text sections at a size threshold of 1M instead of the
    	// architected limit of 67M or larger. The choice of building cmd/go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/plugin_test.go

    		t.Skipf("text section splitting is not done in %s/%s", runtime.GOOS, runtime.GOARCH)
    	}
    
    	// Use -ldflags=-debugtextsize=262144 to let the linker split text section
    	// at a smaller size threshold, so it actually splits for the test binary.
    	goCmd(nil, "build", "-ldflags=-debugtextsize=262144", "-o", "host-split.exe", "./host")
    	run(t, "./host-split.exe")
    
    	// Check that we did split text sections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    	flagCheckLinkname = flag.Bool("checklinkname", true, "check linkname symbol references")
    	FlagDebugTramp    = flag.Int("debugtramp", 0, "debug trampolines")
    	FlagDebugTextSize = flag.Int("debugtextsize", 0, "debug text section max size")
    	flagDebugNosplit  = flag.Bool("debugnosplit", false, "dump nosplit call graph")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top