[PATCH] D11986: Multiple Locations support for Debug Variables
Vikram TV via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 12:33:10 PDT 2015
tvvikram created this revision.
tvvikram added reviewers: aprantl, dblaikie, friss, echristo, loladiro.
tvvikram added subscribers: arphaman, probinson, dblaikie, llvm-commits.
This patch does 2 things:
a. Provides an infrastructure to represent multiple locations for debug variables by addition of the flag - PreserveDbgValLoc and handling it at DbgValueHistoryCalculator and buildLocationLists code.
b. Infer multiple locations from copies in DebugValueFixup (yet to be renamed) code.
This patch was initially submitted at http://reviews.llvm.org/D11933 and inferring multiple locations happen on top of that patch.
Document (if needed): https://docs.google.com/document/d/1noDVWTvTWBdYdweICPBwvwyt8QvX4KHl7j3XKNSg1nE/edit?usp=sharing
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/DebugValueFixup.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/X86/pieces-1.ll
test/DebugInfo/X86/pieces-3.ll
test/DebugInfo/X86/pr19307.ll
test/DebugInfo/multiple-locations-1.ll
test/DebugInfo/multiple-locations-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11986.31970.patch
Type: text/x-patch
Size: 38131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150812/3ef2e625/attachment.bin>
More information about the llvm-commits
mailing list