Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestPPC64CallStubs (0.26 sec)

  1. src/cmd/cgo/internal/test/linux_ppc64le_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ppc64le && linux && cgo
    
    package cgotest
    
    import "testing"
    
    func TestPPC64CallStubs(t *testing.T) {
    	testPPC64CallStubs(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 296 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callstub_linux_ppc64le.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // extern int notoc_func(void);
    // int TestPPC64Stubs(void) {
    //	return notoc_func();
    // }
    import "C"
    import "testing"
    
    func testPPC64CallStubs(t *testing.T) {
    	// Verify the trampolines run on the testing machine. If they
    	// do not, or are missing, a crash is expected.
    	if C.TestPPC64Stubs() != 0 {
    		t.Skipf("This test requires binutils 2.35 or newer.")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 540 bytes
    - Viewed (0)
Back to top