summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-08-26 10:32:04 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-08-26 10:32:04 +0000
commitf46993e40aaeaf22078f711862443722f72ba87f (patch)
treec252936da328ae4ee20de99bec4a75d8162db8fa /clang/lib/AST/MicrosoftMangle.cpp
parent8277c1874a6f2383a7f9122fafa542770cce33da (diff)
downloadbcm5719-llvm-f46993e40aaeaf22078f711862443722f72ba87f.tar.gz
bcm5719-llvm-f46993e40aaeaf22078f711862443722f72ba87f.zip
Fix virtual destructor mangling when using "-cxx-abi microsoft" on x64
llvm-svn: 189214
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index d9e18eb067f..cb93f070ffb 100644
--- a/clang/lib/AST/MicrosoftMangle.cpp
+++ b/clang/lib/AST/MicrosoftMangle.cpp
@@ -1294,7 +1294,7 @@ void MicrosoftCXXNameMangler::mangleFunctionType(const FunctionType *T,
// However, the FunctionType generated has 0 arguments.
// FIXME: This is a temporary hack.
// Maybe should fix the FunctionType creation instead?
- Out << "PAXI@Z";
+ Out << (PointersAre64Bit ? "PEAXI@Z" : "PAXI@Z");
return;
}
Out << '@';
OpenPOWER on IntegriCloud