From 5201d616541a937321e38be8e24752be37f01c26 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 9 Dec 2013 20:44:48 +0000 Subject: 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 --- lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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; -- cgit v1.2.3