In the legal aftermath of General Motors Co.’s recalls, plaintiffs lawyers are pressuring King & Spalding, as ­outside counsel, to reveal what its attorneys knew about a deadly ignition-switch defect.

King & Spalding, which represented GM in products liability cases, hasn’t been named in any lawsuits. But its role in the ignition-switch problem is now in the spotlight in civil litigation over the defect. An amended consumer class action filed on June 12 alleges that the firm engaged with GM in a racketeering conspiracy to hide the defect from federal regulators.