Parse parses an object file or archive from objPath, assuming that its import path is pkgpath. A function that returns paths of object files from import paths can optionally be passed in as importMap to optimize looking up paths to dependencies' object files.
(objPath, pkgPath string, importMap ImportMap)