[Clang] Implement function attribute nouwtable
authorYuanfang Chen <yuanfang.chen@sony.com>
Wed, 24 Aug 2022 19:24:54 +0000 (12:24 -0700)
committerYuanfang Chen <yuanfang.chen@sony.com>
Mon, 29 Aug 2022 19:12:19 +0000 (12:12 -0700)
commit70248bfdea6c70008ca42bf03bb28ebdee252744
tree0b29fb4a93bb1d625fd324b33587180a1e00f82c
parentce6989fd8a9fb2608f670de023fdd4611f47b811
[Clang] Implement function attribute nouwtable

To have finer control of IR uwtable attribute generation. For target code generation,
IR nounwind and uwtable may have some interaction. However, for frontend, there are
no semantic interactions so the this new `nouwtable` is marked "SimpleHandler = 1".

Differential Revision: https://reviews.llvm.org/D132592
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGen/attr-nouwtable.c [new file with mode: 0644]
clang/test/Misc/pragma-attribute-supported-attributes-list.test