diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-04 01:02:03 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-03-04 01:02:03 +0000 |
commit | 9eba9dfb0c525eb20eedad1bed92a459a591600c (patch) | |
tree | 9cebb768030fdd6dafec1d1b88ab6997f4f9f159 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 81d4d12504fd8daa30718cf5c3aef633dc720865 (diff) | |
download | bcm5719-llvm-9eba9dfb0c525eb20eedad1bed92a459a591600c.tar.gz bcm5719-llvm-9eba9dfb0c525eb20eedad1bed92a459a591600c.zip |
Refactor local class name mangling and make it
ABI conforming.
llvm-svn: 97702
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index a3a9e619773..89e6490be35 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1204,7 +1204,7 @@ static void ReplaceUsesOfNonProtoTypeWithRealFunction(llvm::GlobalValue *Old, void CodeGenModule::EmitGlobalFunctionDefinition(GlobalDecl GD) { const FunctionDecl *D = cast<FunctionDecl>(GD.getDecl()); const llvm::FunctionType *Ty = getTypes().GetFunctionType(GD); - + getMangleContext().mangleInitDiscriminator(); // Get or create the prototype for the function. llvm::Constant *Entry = GetAddrOfFunction(GD, Ty); |