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
This commit is contained in:
Rafael Espindola
2014-01-10 13:42:12 +00:00
parent ac843ff018
commit a9ad60c412
3 changed files with 10 additions and 10 deletions

View File

@@ -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");