[PATCH] D19909: [Attr] Add support for the `ms_hook_prologue` attribute.

Charles Davis via cfe-commits cfe-commits at lists.llvm.org
Thu May 19 13:35:59 PDT 2016


cdavis5x updated this revision to Diff 57853.
cdavis5x marked an inline comment as done.
cdavis5x added a comment.

- Add Sema tests for the `ms_hook_prologue` attribute.
- Disallow `ms_hook_prologue` on architectures that Windows doesn't support.
- Disallow `ms_hook_prologue` with the `naked` and `always_inline` attributes.


http://reviews.llvm.org/D19909

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/CodeGen/TargetInfo.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/function-attributes.c
  test/Sema/attr-ms-hook-prologue.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19909.57853.patch
Type: text/x-patch
Size: 6641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160519/2e7e7a10/attachment.bin>


More information about the cfe-commits mailing list