Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for openExportFile (0.48 sec)

  1. src/go/internal/gccgoimporter/importer.go

    // searches for and opens the .go_export section. If this is an archive,
    // reads the export data from the first member, which is assumed to be an ELF file.
    // This is intended to replicate the logic in gofrontend.
    func openExportFile(fpath string) (reader io.ReadSeeker, closer io.Closer, err error) {
    	f, err := os.Open(fpath)
    	if err != nil {
    		return
    	}
    	closer = f
    	defer func() {
    		if err != nil && closer != nil {
    			f.Close()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 6.8K bytes
    - Viewed (0)
Back to top