Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDisasm (0.09 sec)

  1. src/cmd/objdump/objdump_test.go

    	}
    }
    
    func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
    	t.Parallel()
    	testDisasm(t, "fmthello.go", printCode, printGnuAsm)
    	if testenv.HasCGO() {
    		testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
    	}
    }
    
    func TestDisasm(t *testing.T) {
    	testGoAndCgoDisasm(t, false, false)
    }
    
    func TestDisasmCode(t *testing.T) {
    	testGoAndCgoDisasm(t, true, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/cmd/pprof/pprof_test.go

    	if runtime.GOOS == "android" && runtime.GOARCH == "arm" {
    		t.Skipf("skipping on %s/%s, issue 46639", runtime.GOOS, runtime.GOARCH)
    	}
    }
    
    // TestDisasm verifies that cmd/pprof can successfully disassemble functions.
    //
    // This is a regression test for issue 46636.
    func TestDisasm(t *testing.T) {
    	mustHaveCPUProfiling(t)
    	mustHaveDisasm(t)
    	testenv.MustHaveGoBuild(t)
    
    	tmpdir := t.TempDir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top