[PATCH] D17976: Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end

Roman Levenstein via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 8 17:44:56 PST 2016


Forgot to add the mailing list when I created a patch.

> Begin forwarded message:
> 
> From: Roman Levenstein <rlevenstein at apple.com>
> Subject: [PATCH] D17976: Add attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end
> Date: March 8, 2016 at 5:17:02 PM PST
> To: rlevenstein at apple.com, juergen at apple.com
> Cc: amara.emerson at arm.com
> Reply-To: reviews+D17976+public+93264263cdbda32a at reviews.llvm.org
> 
> swiftix created this revision.
> swiftix added a reviewer: ributzka.
> Herald added a subscriber: aemerson.
> 
> Till now, preserve_mostcc/preserve_allcc calling convention attributes were only available at the LLVM IR level. This patch adds attributes for preserve_mostcc/preserve_allcc calling conventions to the C/C++ front-end.
> 
> The code was mostly written by Juergen Ributzka. I just added support for the AArch64 target.
> 
> http://reviews.llvm.org/D17976
> 
> Files:
>  include/clang-c/Index.h
>  include/clang/AST/Type.h
>  include/clang/Basic/Attr.td
>  include/clang/Basic/Specifiers.h
>  lib/AST/ItaniumMangle.cpp
>  lib/AST/Type.cpp
>  lib/AST/TypePrinter.cpp
>  lib/Basic/Targets.cpp
>  lib/CodeGen/CGCall.cpp
>  lib/Sema/SemaDeclAttr.cpp
>  lib/Sema/SemaType.cpp
>  test/CodeGen/preserve_all.c
>  test/CodeGen/preserve_most.c
>  tools/libclang/CXType.cpp
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160308/be663b9e/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17976.50092.patch
Type: text/x-patch
Size: 9967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160308/be663b9e/attachment-0001.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160308/be663b9e/attachment-0003.html>


More information about the cfe-commits mailing list