summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-04-30 21:34:11 +0000
committerAlexey Samsonov <samsonov@google.com>2014-04-30 21:34:11 +0000
commit414b6fb1701e321354bdccade60dd36c5ba62e4a (patch)
tree46520a489c73533eb19ee331c067501123883905 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent6759fd9fdd3c9d49c8aaf64626d5a8c59648ed10 (diff)
downloadbcm5719-llvm-414b6fb1701e321354bdccade60dd36c5ba62e4a.tar.gz
bcm5719-llvm-414b6fb1701e321354bdccade60dd36c5ba62e4a.zip
Move logic for calculating DBG_VALUE history map into separate file/class.
Summary: No functionality change. Test Plan: llvm regression test suite. Reviewers: dblaikie Reviewed By: dblaikie Subscribers: echristo, llvm-commits Differential Revision: http://reviews.llvm.org/D3573 llvm-svn: 207708
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 16a314bdb32..e0d7ef4d893 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -17,6 +17,7 @@
#include "DwarfFile.h"
#include "AsmPrinterHandler.h"
#include "DIE.h"
+#include "DbgValueHistoryCalculator.h"
#include "DebugLocEntry.h"
#include "DebugLocList.h"
#include "DwarfAccelTable.h"
@@ -222,11 +223,7 @@ class DwarfDebug : public AsmPrinterHandler {
// appearance.
SmallVector<const MDNode *, 8> UserVariables;
- // For each user variable, keep a list of DBG_VALUE instructions in order.
- // The list can also contain normal instructions that clobber the previous
- // DBG_VALUE.
- typedef DenseMap<const MDNode *, SmallVector<const MachineInstr *, 4> >
- DbgValueHistoryMap;
+ // History of DBG_VALUE and clobber instructions for each user variable.
DbgValueHistoryMap DbgValues;
// Previous instruction's location information. This is used to determine
OpenPOWER on IntegriCloud