This patch helps teach yaml2obj emit correct DWARF64 unit header of the .debug_info section.
LGTM. The DWARF64 nature of an object also affects any DW_FORM_sec_offset attributes in the body of the table. Is that something that is already correct and covered by testing? If not, that should be done in a separate change.