The patch adds a switch to enable emitting debug info in the 64-bit DWARF format. Most emitter for sections will be updated in the subsequent patches, whereas for .debug_line and .debug_frame the emitters are in the MC library, which is already updated.
For now, the switch is enabled only for 64-bit ELF targets.
If -dwarf-version=2 -dwarf64 does not make sense, shouldn't the combo be errored to prevent misuse?