[PATCH] Generate better location ranges for some register-described variables.

Alexey Samsonov vonosmas at gmail.com
Wed Jun 4 17:06:19 PDT 2014


Change the strategy for discovering function epilogue following
suggestion by Adrian. Assume that instruction is in epilogue if:
1) its basic block ends with a return instruction, and
2) its debug location is the same as debug location of this return instruction.

http://reviews.llvm.org/D3933

Files:
  lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
  test/DebugInfo/X86/debug-loc-asan.ll
  test/DebugInfo/X86/pr19307.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3933.10112.patch
Type: text/x-patch
Size: 25132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140605/64a2152a/attachment.bin>


More information about the llvm-commits mailing list