diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-24 00:08:06 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-06-24 00:08:06 +0000 |
commit | 564360be450b319aeafc26698be9811837bfb826 (patch) | |
tree | 2a441b833973f9eb25a599b0f77a89604eeb9978 /lib/CodeGen/CodeGenModule.h | |
parent | ccc263b44c62ce3a02f797a3ddb3d6017cf0e5e4 (diff) |
Patch to correctly mangle block helper functions
when block literal is declared inside a ctor/dtor.
Fixes radr 8096995.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index f092697fd4..4fbf34319f 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -465,7 +465,7 @@ public: unsigned &CallingConv); llvm::StringRef getMangledName(GlobalDecl GD); - void getMangledName(MangleBuffer &Buffer, const BlockDecl *BD); + void getMangledName(GlobalDecl GD, MangleBuffer &Buffer, const BlockDecl *BD); void EmitTentativeDefinition(const VarDecl *D); |