diff options
author | Charles Davis <cdavis@mines.edu> | 2010-02-10 23:06:52 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2010-02-10 23:06:52 +0000 |
commit | 5a0164d6ab843ca61437ec59a504365cb1c98f43 (patch) | |
tree | 30148221767946041f371262ad561cf665051a01 /lib/AST/AttrImpl.cpp | |
parent | c0f3df3245fa2737b459e198273762a27b76f75a (diff) |
Add support for the force_align_arg_pointer attribute. This is an x86-specific
attribute, so it uses Anton's new target-specific attribute support. It's
supposed to ensure that the stack is 16-byte aligned, but since necessary
support is lacking from LLVM, this is a no-op for now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/AttrImpl.cpp')
-rw-r--r-- | lib/AST/AttrImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/AttrImpl.cpp b/lib/AST/AttrImpl.cpp index 02c70b6511..42c099d66c 100644 --- a/lib/AST/AttrImpl.cpp +++ b/lib/AST/AttrImpl.cpp @@ -55,6 +55,7 @@ DEF_SIMPLE_ATTR_CLONE(Hiding) DEF_SIMPLE_ATTR_CLONE(Override) DEF_SIMPLE_ATTR_CLONE(DLLImport) DEF_SIMPLE_ATTR_CLONE(DLLExport) +DEF_SIMPLE_ATTR_CLONE(X86ForceAlignArgPointer) Attr* PragmaPackAttr::clone(ASTContext &C) const { return ::new (C) PragmaPackAttr(Alignment); |