Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/internal/objabi/util.go

    	GlobalDictPrefix = ".dict" // prefix for names of global dictionaries
    )
    
    // HeaderString returns the toolchain configuration string written in
    // Go object headers. This string ensures we don't attempt to import
    // or link object files that are incompatible with each other. This
    // string always starts with "go object ".
    func HeaderString() string {
    	archExtra := ""
    	if k, v := buildcfg.GOGOARCH(); k != "" && v != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 12:40:45 UTC 2022
    - 961 bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    		buf.WriteString(objabi.HeaderString())
    		fmt.Fprintf(buf, "!\n")
    	}
    
    	// Set macros for GOEXPERIMENTs so we can easily switch
    	// runtime assembly code based on them.
    	if objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top