diff options
author | Charles Davis <cdavis5x@gmail.com> | 2013-08-30 04:39:01 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2013-08-30 04:39:01 +0000 |
commit | b5a214e4f37b6fb0edb88f752aa53277b9490005 (patch) | |
tree | 8aa31f2953f17572388cbd21707ca8c7aa20dc84 /clang/lib/AST/MicrosoftMangle.cpp | |
parent | 2bc74c2887d7a67a70d13e58b9411087f4df77ed (diff) | |
download | bcm5719-llvm-b5a214e4f37b6fb0edb88f752aa53277b9490005.tar.gz bcm5719-llvm-b5a214e4f37b6fb0edb88f752aa53277b9490005.zip |
Add ms_abi and sysv_abi attribute handling.
Based on a patch by Benno Rice!
llvm-svn: 189644
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r-- | clang/lib/AST/MicrosoftMangle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp index 97edce105cd..78fa543979b 100644 --- a/clang/lib/AST/MicrosoftMangle.cpp +++ b/clang/lib/AST/MicrosoftMangle.cpp @@ -1394,6 +1394,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_C: Out << 'A'; break; case CC_X86Pascal: Out << 'C'; break; case CC_X86ThisCall: Out << 'E'; break; |