// clang -c -gdwarf-5 a.s -o a.o .section .init; ret .text; ret
.debug_info contains DW_AT_ranges and llvm-dwarfdump will report
a verification error because .debug_rnglists does not exist.
This patch generates .debug_rnglists for assembly files.
emitListsTableHeaderStart() in DwarfDebug.cpp can be shared with
MCDwarf.cpp. Because CodeGen depends on MC, I move the function to
MCDwarf.cpp
I think it would be more usual to use a namespace here (which would be lowercase, mcdwarf).