OSDN Git Service

[AArch64][SVE] Emit DWARF location expr for SVE (dbg.declare)
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 6 Jan 2021 11:38:30 +0000 (11:38 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 6 Jan 2021 11:45:05 +0000 (11:45 +0000)
commitaa280c99f708dca9dea96bc9070d6194d2622529
treeb68b91bfe6f2c3564056019f5a250a6865e0c3da
parent6e6e24bb09c7845bfa89772527d30cea36ebf19b
[AArch64][SVE] Emit DWARF location expr for SVE (dbg.declare)

When using dbg.declare, the debug-info is generated from a list of
locals rather than through DBG_VALUE instructions in the MIR.
This patch is different from D90020 because it emits the DWARF
location expressions from that list of locals directly.

Reviewed By: jmorse

Differential Revision: https://reviews.llvm.org/D90044
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/test/CodeGen/AArch64/debug-info-sve-dbg-declare.mir [new file with mode: 0644]