Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/link/internal/ld/outbuf.go

    		}
    	}
    	if err := out.f.Close(); err != nil {
    		return err
    	}
    	out.f = nil
    	return nil
    }
    
    // ErrorClose closes the output file (if any).
    // It is supposed to be called only at exit on error, so it doesn't do
    // any clean up or buffer flushing, just closes the file.
    func (out *OutBuf) ErrorClose() {
    	if out.isView {
    		panic(viewCloseError)
    	}
    	if out.f == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/sym.go

    	}
    
    	if buildcfg.GOARCH != arch.Name {
    		log.Fatalf("invalid buildcfg.GOARCH %s (want %s)", buildcfg.GOARCH, arch.Name)
    	}
    
    	AtExit(func() {
    		if nerrors > 0 {
    			ctxt.Out.ErrorClose()
    			mayberemoveoutfile()
    		}
    	})
    
    	return ctxt
    }
    
    // computeTLSOffset records the thread-local storage offset.
    // Not used for Android where the TLS offset is determined at runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top