summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-04 01:02:03 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-04 01:02:03 +0000
commit9eba9dfb0c525eb20eedad1bed92a459a591600c (patch)
tree9cebb768030fdd6dafec1d1b88ab6997f4f9f159 /clang/lib/CodeGen/CodeGenModule.cpp
parent81d4d12504fd8daa30718cf5c3aef633dc720865 (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud