summaryrefslogtreecommitdiff
path: root/include/llvm/IR/DataLayout.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-10 13:42:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-10 13:42:12 +0000
commita9ad60c412327bc124258d4b9926436087e68ac4 (patch)
treefbfae319863ec54f9fca04cceefedbe5b1c27904 /include/llvm/IR/DataLayout.h
parentac843ff0182cd7fadadb88910c01a42de46c9339 (diff)
downloadllvm-a9ad60c412327bc124258d4b9926436087e68ac4.tar.gz
llvm-a9ad60c412327bc124258d4b9926436087e68ac4.tar.bz2
llvm-a9ad60c412327bc124258d4b9926436087e68ac4.tar.xz
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
Diffstat (limited to 'include/llvm/IR/DataLayout.h')
-rw-r--r--include/llvm/IR/DataLayout.h8
1 files changed, 4 insertions, 4 deletions
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");