[PATCH] D11933: Extending debug ranges

Vikram TV via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 04:35:02 PDT 2015


tvvikram updated this revision to Diff 32399.
tvvikram added a comment.

This patch has the following changes over the previous one:

a. Renamed DebugValueFixup pass as ExtendDebugRangeLocation pass.

b. Improved removal of redundant DBG_VALUE instructions. Added a test case for the same - redundant-dbg_val.ll

c. Add "STATISTIC" to count the number of DBG_VALUE instructions inserted/deleted. I am not sure what benchmarks to exactly test.

d. Updated the test case extend-debug-range.ll to compare against assembly instead of machine instructions. I am getting an error in using MIR serialization, I can send a new patch containing the two new MIR test cases once it works.


http://reviews.llvm.org/D11933

Files:
  include/llvm/CodeGen/Passes.h
  include/llvm/InitializePasses.h
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/CodeGen.cpp
  lib/CodeGen/ExtendDebugRangeLocation.cpp
  lib/CodeGen/Passes.cpp
  test/DebugInfo/X86/array.ll
  test/DebugInfo/X86/fission-ranges.ll
  test/DebugInfo/X86/pieces-3.ll
  test/DebugInfo/X86/sret.ll
  test/DebugInfo/extend-debug-range.ll
  test/DebugInfo/redundant-dbg_val.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11933.32399.patch
Type: text/x-patch
Size: 35631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150818/c7b6dc5d/attachment-0001.bin>


More information about the llvm-commits mailing list