forked from OSchip/llvm-project
This attribute somehow remained nameless in the attribute tablegen, until now.
llvm-svn: 196415
This commit is contained in:
parent
3c842626ab
commit
3001339783
|
@ -916,7 +916,10 @@ def WeakRef : InheritableAttr {
|
|||
}
|
||||
|
||||
def X86ForceAlignArgPointer : InheritableAttr, TargetSpecificAttr {
|
||||
let Spellings = [];
|
||||
let Spellings = [GNU<"force_align_arg_pointer">];
|
||||
// Technically, this appertains to a FunctionDecl, but the target-specific
|
||||
// code silently allows anything function-like (such as typedefs or function
|
||||
// pointers), but does not apply the attribute to them.
|
||||
}
|
||||
|
||||
// Attribute to disable AddressSanitizer (or equivalent) checks.
|
||||
|
|
|
@ -267,8 +267,7 @@ namespace {
|
|||
}
|
||||
}
|
||||
if (Triple.getArch() != llvm::Triple::x86_64 &&
|
||||
(Attr.getName()->getName() == "force_align_arg_pointer" ||
|
||||
Attr.getName()->getName() == "__force_align_arg_pointer__")) {
|
||||
Attr.getKind() == AttributeList::AT_X86ForceAlignArgPointer) {
|
||||
HandleX86ForceAlignArgPointerAttr(D, Attr, S);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue