X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FLiveDebugVariables.h;h=3d36f4d2494a525a6057c95bb39fea0b901aaf04;hb=ef5008e6d0966564098a04dbddb058a01c195062;hp=7ec0d17e42d61d6a006b1083faaf10c44b7e4d8c;hpb=f9b6d0373a5f2485c7ebab37f5b1215145951077;p=oota-llvm.git diff --git a/lib/CodeGen/LiveDebugVariables.h b/lib/CodeGen/LiveDebugVariables.h index 7ec0d17e42d..3d36f4d2494 100644 --- a/lib/CodeGen/LiveDebugVariables.h +++ b/lib/CodeGen/LiveDebugVariables.h @@ -18,12 +18,12 @@ // //===----------------------------------------------------------------------===// -#ifndef LLVM_CODEGEN_LIVEDEBUGVARIABLES_H -#define LLVM_CODEGEN_LIVEDEBUGVARIABLES_H +#ifndef LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H +#define LLVM_LIB_CODEGEN_LIVEDEBUGVARIABLES_H #include "llvm/ADT/ArrayRef.h" -#include "llvm/IR/DebugInfo.h" #include "llvm/CodeGen/MachineFunctionPass.h" +#include "llvm/IR/DebugInfo.h" namespace llvm { @@ -31,14 +31,14 @@ class LiveInterval; class LiveIntervals; class VirtRegMap; -class LiveDebugVariables : public MachineFunctionPass { +class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass { void *pImpl; - DenseMap 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. @@ -72,4 +72,4 @@ private: } // namespace llvm -#endif // LLVM_CODEGEN_LIVEDEBUGVARIABLES_H +#endif