Allow min/max detection to see through casts.
[oota-llvm.git] / lib / CodeGen / LiveDebugVariables.h
index 9748329314d6701ee62b0b062396dcd94f525e25..ac2d1a136bca19db493697e02d9ff73ec86245b2 100644 (file)
@@ -33,12 +33,13 @@ class VirtRegMap;
 
 class LiveDebugVariables : public MachineFunctionPass {
   void *pImpl;
-  DenseMap<const Function*, DISubprogram> FunctionDIs;
+  DenseMap<const Function *, DISubprogram *> FunctionDIs;
+
 public:
   static char ID; // Pass identification, replacement for typeid
 
   LiveDebugVariables();
-  ~LiveDebugVariables();
+  ~LiveDebugVariables() override;
 
   /// renameRegister - Move any user variables in OldReg to NewReg:SubIdx.
   /// @param OldReg Old virtual register that is going away.