Set DWARF register numbers and add frame debug information.