[DebugInfo] retainedTypes should not have subprograms
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 15 Oct 2021 16:37:12 +0000 (12:37 -0400)
committerPuyan Lotfi <puyan@puyan.org>
Fri, 15 Oct 2021 16:42:25 +0000 (12:42 -0400)
commitaa80034ab986ca830b910ba0a156a9e1752b0e37
tree99029f51c817d21c47a6bc4d609df6693932d1d7
parentf5ed223b0fd0d45ff18013e38756546210e03a34
[DebugInfo] retainedTypes should not have subprograms

After D80369, the retainedTypes in CU's should not have any subprograms
so we should not handle that case when emitting debug info.

Differential Revision: https://reviews.llvm.org/D111593
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-indirect-param.mir
llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-orr-moves.mir
llvm/test/DebugInfo/MIR/X86/callsite-stack-value.mir
llvm/test/DebugInfo/MIR/X86/debug-call-site-param.mir
llvm/test/DebugInfo/X86/convert-loclist.ll