Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtimeSyms (0.22 sec)

  1. src/cmd/nm/nm_test.go

    				} else {
    					t.Errorf("want %s type for %s symbol, but have %s", want, name, have)
    				}
    			}
    			delete(runtimeSyms, name)
    		}
    	}
    	if len(names) > 0 {
    		t.Errorf("executable is missing %v symbols", names)
    	}
    	if len(runtimeSyms) > 0 {
    		t.Errorf("executable is missing %v symbols", runtimeSyms)
    	}
    }
    
    func TestGoExec(t *testing.T) {
    	testGoExec(t, false, false)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    	pkg.Scope().Insert(obj)
    
    	return pkg
    }()
    
    // runtimeSym returns a reference to a symbol in the fake runtime package.
    func runtimeSym(info *types2.Info, name string) *syntax.Name {
    	obj := runtimePkg.Scope().Lookup(name)
    	n := syntax.NewName(nopos, "runtime."+name)
    	tv := syntax.TypeAndValue{Type: obj.Type()}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top