From a9ad60c412327bc124258d4b9926436087e68ac4 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 10 Jan 2014 13:42:12 +0000 Subject: Use 'w' instead of 'c' to represent the win32 mangling. This change was requested to avoid confusion if we ever support non windows coff systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198938 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/DataLayout.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/llvm/IR/DataLayout.h') diff --git a/include/llvm/IR/DataLayout.h b/include/llvm/IR/DataLayout.h index 9ffa056355..acd3d82555 100644 --- a/include/llvm/IR/DataLayout.h +++ b/include/llvm/IR/DataLayout.h @@ -104,7 +104,7 @@ private: MM_None, MM_ELF, MM_MachO, - MM_COFF, + MM_WINCOFF, MM_Mips }; ManglingModeT ManglingMode; @@ -234,7 +234,7 @@ public: } bool hasMicrosoftFastStdCallMangling() const { - return ManglingMode == MM_COFF; + return ManglingMode == MM_WINCOFF; } bool hasLinkerPrivateGlobalPrefix() const { @@ -254,7 +254,7 @@ public: case MM_Mips: return '\0'; case MM_MachO: - case MM_COFF: + case MM_WINCOFF: return '_'; } llvm_unreachable("invalid mangling mode"); @@ -269,7 +269,7 @@ public: case MM_Mips: return "$"; case MM_MachO: - case MM_COFF: + case MM_WINCOFF: return "L"; } llvm_unreachable("invalid mangling mode"); -- cgit v1.2.3