summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-10-03 20:38:57 +0000
committerdim <dim@FreeBSD.org>2013-10-03 20:38:57 +0000
commitaae6234255311ce64facefa4a4d332c68542d3b3 (patch)
tree2d1dccc02cf12c36278f038437b6db16675cd56e /contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
parent5dc4bb5bd3d0e995e13054a94b6d63490561ed9c (diff)
downloadFreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.zip
FreeBSD-src-aae6234255311ce64facefa4a4d332c68542d3b3.tar.gz
Pull in r189644 from upstream llvm trunk:
Add ms_abi and sysv_abi attribute handling. Based on a patch by Benno Rice! This will help to develop EFI support. Approved by: re (kib) Verified by: benno MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp b/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
index 1785063..58088bb 100644
--- a/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
+++ b/contrib/llvm/tools/clang/lib/AST/MicrosoftMangle.cpp
@@ -1311,6 +1311,8 @@ void MicrosoftCXXNameMangler::mangleCallingConvention(const FunctionType *T,
switch (CC) {
default:
llvm_unreachable("Unsupported CC for mangling");
+ case CC_X86_64Win64:
+ case CC_X86_64SysV:
case CC_Default:
case CC_C: Out << 'A'; break;
case CC_X86Pascal: Out << 'C'; break;
OpenPOWER on IntegriCloud