diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-14 02:47:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-14 02:47:58 +0000 |
commit | 61b5f3e12c0ab5dd2e8b98bb827855420bb9869b (patch) | |
tree | f8e0575a514236c69dc844c9a52a4d053c1ad25f /lib/CodeGen/CGDebugInfo.h | |
parent | 9df4bb32dfafd963396155df8472904dde6a6827 (diff) |
Use LLVM mangler to get mangled name for debug info entry.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75589 91177308-0d34-0410-b5e6-96231b3b80d8
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 |