// AddImport adds a package to the list of imported packages. func (ctxt *Link) AddImport(pkg string, fingerprint goobj.FingerprintType) { … } // getFileIndexAndLine returns the relative file index (local to the CU), and // the relative line number for a position (i.e., as adjusted by a //line // directive). This is the file/line visible in the final binary (pcfile, pcln, // etc). func (ctxt *Link) getFileIndexAndLine(xpos src.XPos) (int, int32) { … }