[PATCH] D22045: [X86] Support of no_caller_saved_registers attribute (Clang part)
Amjad Aboud via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 4 08:47:02 PDT 2016
aaboud updated this revision to Diff 66810.
aaboud added a comment.
Made "no_caller_saved_registers" part of function prototype.
This will allow Clang to yell a warning when there is a mismatch between function pointer and assigned function value.
Thanks to Erich for implementing this addition change.
https://reviews.llvm.org/D22045
Files:
include/clang/AST/Type.h
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/CodeGen/CGFunctionInfo.h
include/clang/Sema/Sema.h
lib/AST/ASTContext.cpp
lib/AST/TypePrinter.cpp
lib/CodeGen/CGCall.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/CodeGenCXX/attr-x86-no_caller_saved_registers.cpp
test/SemaCXX/attr-x86-no_caller_saved_registers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22045.66810.patch
Type: text/x-patch
Size: 17951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160804/fc94f541/attachment-0001.bin>
More information about the cfe-commits
mailing list