Emission of debug_line.dwo was restricted by presence of
DwarfTypeUnits and the associated code was also hard-wired just
to satisfy this requirement.
This patch pulls out the emission code of debug_line.dwo from
DwarfTypeUnits to DwarfDebug so that, if required(for instance
debug_macro.dwo needs this), it can be leveraged easily.
This patch is based on @dblaikie feedback on D81476. Thanks for this!
What's the motivation for this change to use unique_ptr here?