Stub out a new LiveDebugVariables pass.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 30 Nov 2010 02:17:10 +0000 (02:17 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 30 Nov 2010 02:17:10 +0000 (02:17 +0000)
commitbb7b23f5b79a7ca2aa62faa1a6078428af597234
tree0f6a7a72f1419cb56611adbb6291107707c208f8
parentd7b6a989a7cdea0cbfe1a2b7c6f46d5d102054f2
Stub out a new LiveDebugVariables pass.

This analysis is going to run immediately after LiveIntervals. It will stay
alive during register allocation and keep track of user variables mentioned in
DBG_VALUE instructions.

When the register allocator is moving values between registers and the stack, it
is very hard to keep track of DBG_VALUE instructions. We usually get it wrong.
This analysis maintains a data structure that makes it easy to update DBG_VALUE
instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120385 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InitializePasses.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGen.cpp
lib/CodeGen/LiveDebugVariables.cpp [new file with mode: 0644]
lib/CodeGen/LiveDebugVariables.h [new file with mode: 0644]