Attorney-client privilege works much the same for IRS audits as for any other legal matters. Your attorney cannot disclose any private communication between the two of you to an IRS agent. There are exceptions and limits to attorney-client privilege, and you should research them before telling sensitive information to an attorney.