Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for buildPGOInliningTest (0.16 sec)

  1. src/cmd/compile/internal/test/pgo_inl_test.go

    	gcflag := gcflag0 + ",pgohash=" + hash
    	out := buildPGOInliningTest(t, dir, gcflag)
    	if !bytes.Contains(out, []byte(hashMatch)) || !pgoDebugRE.Match(out) {
    		t.Errorf("output does not contain expected source line, out:\n%s", out)
    	}
    
    	// Check that a hash mismatch turns off PGO inlining.
    	hash = "v0" // 0 should not match srcPos
    	gcflag = gcflag0 + ",pgohash=" + hash
    	out = buildPGOInliningTest(t, dir, gcflag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top