[AsmPrinter] Use EntryValue object info to emit Dwarf
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Mon, 1 May 2023 15:19:49 +0000 (11:19 -0400)
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Fri, 12 May 2023 12:35:48 +0000 (08:35 -0400)
commitee75422ce1854208b12eb114e62ff9e3042570c7
treec6afa3638f04efd3bd8bbc88235ff4a584bac330
parentc3b4e279d465f6489c4af43637cf125e86859097
[AsmPrinter] Use EntryValue object info to emit Dwarf

This patch consumes the EntryValueObjects in a MachineFunction's table, using
them to emit the appropriate debug information for these variables.

Depends on D149880

Differential Revision: https://reviews.llvm.org/D149881
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/AArch64/dbg-entry-value-swiftasync.mir [new file with mode: 0644]