diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-05-25 17:04:15 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-05-25 17:04:15 +0000 |
| commit | 7e10f3699af2a21a592ed62643130f0c8dc0d829 (patch) | |
| tree | dc40cea9bc0c283b63b1cb9d23a4748fff2f67c3 /clang/lib/CodeGen/CodeGenModule.h | |
| parent | 19c6240713059e3c805b7776d426e08990ea6082 (diff) | |
| download | bcm5719-llvm-7e10f3699af2a21a592ed62643130f0c8dc0d829.tar.gz bcm5719-llvm-7e10f3699af2a21a592ed62643130f0c8dc0d829.zip | |
Improve name mangling for blocks and support mangling of static local
variables within blocks. We loosely follow GCC's mangling, but since
these are always internal symbols the names don't really matter. I
intend to revisit block mangling later, because GCC's mangling is
rather verbose. <rdar://problem/8015719>.
llvm-svn: 104610
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index e225462fac8..b14c35f3845 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -413,6 +413,7 @@ public: void getMangledName(MangleBuffer &Buffer, GlobalDecl D); void getMangledName(MangleBuffer &Buffer, const NamedDecl *ND); + void getMangledName(MangleBuffer &Buffer, const BlockDecl *BD); void getMangledCXXCtorName(MangleBuffer &Buffer, const CXXConstructorDecl *D, CXXCtorType Type); |

