dump_irep_record(): Set error code in case dump failed.
Attach a file by drag & drop or click to upload