diff options
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 35d167ce81..129ba9419c 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -34,6 +34,7 @@ namespace llvm { class SubprogramDesc; class GlobalVariable; class GlobalVariableDesc; + class EnumeratorDesc; } namespace clang { @@ -69,6 +70,7 @@ private: std::vector<llvm::DebugInfoDesc *> RegionStack; std::vector<llvm::VariableDesc *> VariableDescList; std::vector<llvm::GlobalVariableDesc *> GlobalVarDescList; + std::vector<llvm::EnumeratorDesc *> EnumDescList; llvm::SubprogramDesc *Subprogram; /// Helper functions for getOrCreateType. @@ -82,6 +84,12 @@ private: llvm::CompileUnitDesc *unit); llvm::TypeDesc *getOrCreateFunctionType(QualType type, llvm::CompileUnitDesc *unit); + llvm::TypeDesc *getOrCreateRecordType(QualType type, + llvm::CompileUnitDesc *unit); + llvm::TypeDesc *getOrCreateEnumType(QualType type, + llvm::CompileUnitDesc *unit); + llvm::TypeDesc *getOrCreateTaggedType(QualType type, + llvm::CompileUnitDesc *unit); public: CGDebugInfo(CodeGenModule *m); |