The company filing for your H-1B extension will request a filing receipt date back to the date of the previous I-94 expiration.
Thus an individual in this position would have any accrued unlawful presence forgiven if the petition is approved. The new I-94 and receipt notice will be proof.