Gorlim

In J. R. R. Tolkien's Middle-earth legendarium, Gorlim was one of the companions of Barahir.

In the Tale of Beren and Lúthien in The Silmarillion it is described how Barahir, last lord of the Men of Ladros (Dorthonion), remained as an outlaw in his own land after it was lost to Morgoth in the Dagor Bragollach.

He had twelve companions, one of these Gorlim, son of Angrim, but all their kin were scattered or killed. As Barahir and companions were camping at a secret hide-out in southern Ladros, Gorlim went out hunting near the area where he once lived, when he suddenly saw his old house standing as it long had, and through the window he saw his presumed dead wife, Eilinel. He came out of hiding to go to her, when he was captured by Orcs.

He was brought captive before Sauron, who tricked him into revealing where Barahir hid, claiming he could reunite Gorlim with his wife. Gorlim accepted, betraying his lord, and then Sauron revealed Gorlim had seen but a spectre devised by him, but that he would keep his word. He had Gorlim tortured to death, where he would be "reunited with his wife".

After Orcs had slain all of Barahir's remaining men but for his son Beren, who was out hunting, Gorlim appeared as a spectre before Beren, and confessed his deeds, giving Beren a chance to reclaim the Ring of Barahir, heirloom of his house, and escape alive.

Gorlim is referred to as Gorlim the Unhappy in the tale.

Other versions of the legendarium
In the first version of the Lay of Leithian, it was Morgoth himself, not Sauron, that tricked Gorlim into betraying Barahir.