DebugInfo: Use debug_line.dwo for debug_macro.dwo
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 12 Jul 2020 22:35:21 +0000 (15:35 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Jul 2020 21:06:33 +0000 (14:06 -0700)
commit5c2451785dfe6d8a4448690cd1f1c247036bfca6
treeb2242fcf3d734722bdb5c32445c56a7b08b28b61
parent0d5fc82245352eb6ed4cf11d85a508a8a03e23bb
DebugInfo: Use debug_line.dwo for debug_macro.dwo

This is an alternative proposal to D81476 (and D82084) - the details were sufficiently confusing to me it seemed easier to write some code and see how it looks.

Reviewers: SouraVX

Differential Revision: https://reviews.llvm.org/D84278
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/X86/debug-macro-dwo.ll