[PATCH] D23283: Debugging of optimized code: When locals have their address taken as part of a call use their stack slots as location expressions for debug info.

Wolfgang Pieb via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 14:36:23 PDT 2016


wolfgangp updated this revision to Diff 67606.
wolfgangp added a comment.

Revised patch to account for DanglingDebugInfo nodes, which I had overlooked in the first attempt. Relaxed the check for a deref node to allow more general DI expressions with a top DW_op_deref node.

One more test case needed modification (array.ll).


https://reviews.llvm.org/D23283

Files:
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  test/DebugInfo/AArch64/coalescing.ll
  test/DebugInfo/X86/array.ll
  test/DebugInfo/X86/bbjoin.ll
  test/DebugInfo/X86/dbg-value-const-byref.ll
  test/DebugInfo/X86/debug-loc-frame.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23283.67606.patch
Type: text/x-patch
Size: 10855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160810/532652ee/attachment.bin>


More information about the llvm-commits mailing list