mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
Mac OS X X86-64 ABI is same as the standard.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b8f74793b9
commit
29d62bebd9
@ -145,12 +145,8 @@ public:
|
|||||||
|
|
||||||
std::string getDataLayout() const {
|
std::string getDataLayout() const {
|
||||||
const char *p;
|
const char *p;
|
||||||
if (is64Bit()) {
|
if (is64Bit())
|
||||||
if (isTargetDarwin())
|
p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128";
|
||||||
p = "e-p:64:64-f64:32:64-i64:32:64-f80:128:128";
|
|
||||||
else
|
|
||||||
p = "e-p:64:64-f64:64:64-i64:64:64-f80:128:128";
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
if (isTargetDarwin())
|
if (isTargetDarwin())
|
||||||
p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128";
|
p = "e-p:32:32-f64:32:64-i64:32:64-f80:128:128";
|
||||||
|
Loading…
Reference in New Issue
Block a user