summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-09 20:44:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-09 20:44:48 +0000
commit5201d616541a937321e38be8e24752be37f01c26 (patch)
tree5802248a966a8f8429c55f1d119913f44a794cb8 /lib
parent470041bd618d33a3a42a11a64ebc41380cf54514 (diff)
downloadllvm-5201d616541a937321e38be8e24752be37f01c26.tar.gz
llvm-5201d616541a937321e38be8e24752be37f01c26.tar.bz2
llvm-5201d616541a937321e38be8e24752be37f01c26.tar.xz
Don't add suffixes for stdcall/fastcall on 64 coff.
This matches the behavior of both msvc and mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
index 9304decce7..bb31c472d4 100644
--- a/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
+++ b/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
@@ -128,6 +128,7 @@ X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) {
if (Triple.getArch() == Triple::x86_64) {
GlobalPrefix = '\0';
PrivateGlobalPrefix = ".L";
+ HasMicrosoftFastStdCallMangling = false;
}
AssemblerDialect = AsmWriterFlavor;
@@ -143,6 +144,7 @@ X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) {
if (Triple.getArch() == Triple::x86_64) {
GlobalPrefix = '\0';
PrivateGlobalPrefix = ".L";
+ HasMicrosoftFastStdCallMangling = false;
}
AssemblerDialect = AsmWriterFlavor;