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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Refactored patch to use appendOffsetExpression similar to the changes made to D90046.
llvm/test/CodeGen/AArch64/debug-info-sve-dbg-declare.mir | ||
---|---|---|
80 | Before someone comments on this, yes, I just realised this patch should also remove the attributes :) |
Comment Actions
- Rebased patch (after changes to D90020 it can use getOffsetOpcodes directly, instead of adding a new function appendOffsetExpr that does the same thing)
- Removed unnecessary attributes from the test.
Before someone comments on this, yes, I just realised this patch should also remove the attributes :)