diff options
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index ac28e5b879..5cb5f09da8 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -16,6 +16,7 @@ #include "clang/AST/Type.h" #include "clang/Basic/SourceLocation.h" +#include "llvm/Support/Mangler.h" #include "llvm/ADT/DenseMap.h" #include "llvm/Analysis/DebugInfo.h" #include <map> @@ -25,6 +26,7 @@ namespace clang { class VarDecl; class ObjCInterfaceDecl; + class TargetInfo; namespace CodeGen { class CodeGenModule; @@ -34,6 +36,7 @@ namespace CodeGen { /// the backend. class CGDebugInfo { CodeGenModule *M; + llvm::Mangler *LLVMMangler; bool isMainCompileUnitCreated; llvm::DIFactory DebugFactory; @@ -68,7 +71,7 @@ class CGDebugInfo { llvm::DIType CreateType(const ArrayType *Ty, llvm::DICompileUnit U); public: - CGDebugInfo(CodeGenModule *m); + CGDebugInfo(CodeGenModule *m, TargetInfo *t); ~CGDebugInfo(); /// setLocation - Update the current source location. If \arg loc is |