This patch adds support for DW_OP_implicit_pointer.
This will enable debugger to show dereferenced value of optimized out pointer.
It has been validated for SROA, mem2reg and Instruction-combiner optimizations.
This also fixes PR43289
Differential D69787 Authored by alok on Nov 3 2019, 11:24 PM.
Details Summary This patch adds support for DW_OP_implicit_pointer. This will enable debugger to show dereferenced value of optimized out pointer. This also fixes PR43289
Diff Detail
Event TimelineComment Actions Rough first review: This looks like it touches a lot of places. I think it might make more sense as several separate patches - improving salavageDebugINfo and then separate patches for each new call-site (including appropriate test cases showing how each new call site is useful). Comment Actions This looks very interesting! I agree with David though that it would be nice to split this into smaller parts. alok added a parent revision: D69886: [DebugInfo] Support for DW_OP_implicit_pointer (CodeGen phase).Nov 8 2019, 2:40 AM alok removed a parent revision: D69886: [DebugInfo] Support for DW_OP_implicit_pointer (CodeGen phase).Nov 8 2019, 2:42 AM
Revision Contents
Diff 227649 |