[PATCH] D11986: Multiple Locations support for Debug Variables

Vikram TV via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 03:12:20 PDT 2015


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

Please ignore all the previous patches in this review.

This is an incremental patch over extending debug ranges - http://reviews.llvm.org/D11933. Please apply the patch from that review first. If a full diff (i.e. including the patch from http://reviews.llvm.org/D11933 review) is needed, please let me know; I will upload a full diff.

Incremental changes:
a. Provide infrastructure to handle multiple locations:

- PreserveDbgValLoc flag addition
- Interpreting the flag in DbgValueHistoryCalculator code and buildLocationLists() routine in DwarfDebug.cpp.

b. Infer multiple locations from copies in ExtendDebugRangeLocation.cpp
c. Fix test cases. Add dwarf and .mir test case for multiple location.

Thank you!


http://reviews.llvm.org/D11986

Files:
  include/llvm/CodeGen/MachineInstr.h
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
  lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
  lib/CodeGen/AsmPrinter/DebugLocEntry.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/ExtendDebugRangeLocation.cpp
  lib/CodeGen/MachineInstr.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
  test/DebugInfo/MIR/X86/multiple-locations.mir
  test/DebugInfo/X86/pieces-1.ll
  test/DebugInfo/X86/pieces-3.ll
  test/DebugInfo/X86/pr19307.ll
  test/DebugInfo/multiple-locations.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11986.32809.patch
Type: text/x-patch
Size: 42234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150821/8cd8e573/attachment-0001.bin>


More information about the llvm-commits mailing list