[GSYM] Add Split Dwarf Support to DwarfTransformer
authorAlexander Yermolovich <ayermolo@fb.com>
Thu, 3 Feb 2022 21:39:03 +0000 (13:39 -0800)
committerAlexander Yermolovich <ayermolo@fb.com>
Thu, 3 Feb 2022 21:39:19 +0000 (13:39 -0800)
commit4d5f66da6a5610cd61336899f5f69571713f7337
tree87f479faac6cbe0f9ea3bd46e25e35942aeea85e
parent852afed5e0200b70047c28ccf4424a17089d17b0
[GSYM] Add Split Dwarf Support to DwarfTransformer

The convert only worked on CUs in main binary.
If it's a skeleton CU it will now use the DWO CU
when invoking handleDie.

Test Plan:
llvm-lit

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D118521
llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
llvm/test/DebugInfo/X86/fission-no-inline-gsym.ll [new file with mode: 0644]