It doesn't exactly give away your spot, just tells the enemy there is someone near them. And that can sometimes be an advantage.
People will end up searching for that person, and generally they will look around corners or in popular hiding spots, leaving their back open for a quick stab