Temporarily revert "Don't try to construct debug LexicalScopes hierarchy for function...
[oota-llvm.git] / lib / CodeGen / LiveDebugVariables.h
index 7ec0d17e42d61d6a006b1083faaf10c44b7e4d8c..bb6743547e3d20efe7cca8f0554afe71dc537e2e 100644 (file)
@@ -22,7 +22,6 @@
 #define LLVM_CODEGEN_LIVEDEBUGVARIABLES_H
 
 #include "llvm/ADT/ArrayRef.h"
-#include "llvm/IR/DebugInfo.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 
 namespace llvm {
@@ -33,7 +32,6 @@ class VirtRegMap;
 
 class LiveDebugVariables : public MachineFunctionPass {
   void *pImpl;
-  DenseMap<const Function*, DISubprogram> FunctionDIs;
 public:
   static char ID; // Pass identification, replacement for typeid
 
@@ -66,7 +64,6 @@ private:
   bool runOnMachineFunction(MachineFunction &) override;
   void releaseMemory() override;
   void getAnalysisUsage(AnalysisUsage &) const override;
-  bool doInitialization(Module &) override;
 
 };