diff options
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 16a314bdb3..e0d7ef4d89 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/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 |