diff options
author | Devang Patel <dpatel@apple.com> | 2010-02-10 18:49:08 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-02-10 18:49:08 +0000 |
commit | 809b9bb733d6b65883a89eae0cf20c1635cff141 (patch) | |
tree | 79c6617842297bcd57055f1f087a8c6bb46283bb /lib/CodeGen/CGDebugInfo.h | |
parent | 73482884560be041d86eccbd7dd5a6918677393b (diff) | |
download | clang-809b9bb733d6b65883a89eae0cf20c1635cff141.tar.gz |
Refactor code that generates debug info for variables that has BlocksAttr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index c2bcc4bd12..b2d3a1f1fa 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -175,6 +175,11 @@ private: void EmitDeclare(const BlockDeclRefExpr *BDRE, unsigned Tag, llvm::Value *AI, CGBuilderTy &Builder, CodeGenFunction *CGF); + // EmitTypeForVarWithBlocksAttr - Build up structure info for the byref. + // See BuildByRefType. + llvm::DIType EmitTypeForVarWithBlocksAttr(const ValueDecl *VD, + uint64_t *OffSet); + /// getContextDescriptor - Get context info for the decl. llvm::DIDescriptor getContextDescriptor(const Decl *Decl, llvm::DIDescriptor &CU); |