[PATCH] D18025: 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
Fri Mar 11 12:05:29 PST 2016
Hi Aaron, Hi Juergen,
Could you review this simple patch? Is it OK to merge or are there any changes to be made?
Thanks,
Roman
> On Mar 9, 2016, at 7:25 PM, Roman Levenstein <rlevenstein at apple.com> wrote:
>
> swiftix created this revision.
> swiftix added reviewers: ributzka, aaron.ballman.
> swiftix added a subscriber: cfe-commits.
> 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 and tests.
>
> http://reviews.llvm.org/D18025
>
> Files:
> include/clang-c/Index.h
> include/clang/AST/Type.h
> include/clang/Basic/Attr.td
> include/clang/Basic/AttrDocs.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
> test/Sema/preserve_all-call-conv.c
> test/Sema/preserve_most-call-conv.c
> tools/libclang/CXType.cpp
>
> <D18025.50228.patch>
More information about the cfe-commits
mailing list