projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e486e
)
16-byte stack alignment for X86-64 ELF. Patch by Dan Gohman.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 29 Nov 2006 02:00:40 +0000
(
02:00
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 29 Nov 2006 02:00:40 +0000
(
02:00
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32004
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86Subtarget.cpp
b/lib/Target/X86/X86Subtarget.cpp
index a864bb69a954d6e572eeff1ae4599a3c1c7af173..ea185b98e82a2316d70dafffe107ad539f319ed1 100644
(file)
--- a/
lib/Target/X86/X86Subtarget.cpp
+++ b/
lib/Target/X86/X86Subtarget.cpp
@@
-255,6
+255,8
@@
X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
}
}
- if (TargetType == isDarwin || TargetType == isCygwin)
+ if (TargetType == isDarwin ||
+ TargetType == isCygwin ||
+ (TargetType == isELF && Is64Bit))
stackAlignment = 16;
}