diff options
author | Martin Storsjo <martin@martin.st> | 2017-07-17 20:49:45 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-07-17 20:49:45 +0000 |
commit | 022e782e75766e9dd98b9e18572129cd313f3ab5 (patch) | |
tree | 53a8aeccf5e93e76eb6349e595a427e8de2fe059 /clang/lib/AST/ItaniumMangle.cpp | |
parent | 20f5a5c64c12aef453d1f8d1fb0d505873a4f608 (diff) |
[AArch64] Add support for __builtin_ms_va_list on aarch64
Move builtins from the x86 specific scope into the global
scope. Their use is still limited to x86_64 and aarch64 though.
This allows wine on aarch64 to properly handle variadic functions.
Differential Revision: https://reviews.llvm.org/D34475
llvm-svn: 308218
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r-- | clang/lib/AST/ItaniumMangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index dc25e5213bae..4e7c6c4edf37 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -2529,7 +2529,7 @@ StringRef CXXNameMangler::getCallingConvQualifierName(CallingConv CC) { case CC_X86ThisCall: case CC_X86VectorCall: case CC_X86Pascal: - case CC_X86_64Win64: + case CC_Win64: case CC_X86_64SysV: case CC_X86RegCall: case CC_AAPCS: |