fix coverage map generation on 3.x, #73266