The stock of pharmaceutical major Sun Pharma ended up as the top loser on the BSE Sensex on Friday following reports of a complaint by a whistleblower to the Securities and Exchange Board of India (Sebi) against the company, raising issues of corporate governance.