[all-commits] [llvm/llvm-project] 93b09a: [LiveDebugValues] Handle spills of indirect debug ...

eleviant via All-commits all-commits at lists.llvm.org
Wed Sep 8 04:07:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93b09a2a5d787beda3252a8c2662d19a44527881
      https://github.com/llvm/llvm-project/commit/93b09a2a5d787beda3252a8c2662d19a44527881
  Author: Evgeny Leviant <eleviant at accesssoftek.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
    M llvm/test/DebugInfo/MIR/X86/live-debug-values-restore.mir

  Log Message:
  -----------
  [LiveDebugValues] Handle spills of indirect debug values correctly

When handling register spill for indirect debug value LiveDebugValues pass doesn't add
DW_OP_deref operator which may in some cases cause debugger to return value address, instead
of value while machine register holding that address is spilled.

Differential revision: https://reviews.llvm.org/D109142




More information about the All-commits mailing list