diff options
author | Evgeniy Brevnov <ybrevnov@azul.com> | 2020-12-23 14:50:36 +0700 |
---|---|---|
committer | Evgeniy Brevnov <ybrevnov@azul.com> | 2020-12-24 18:14:18 +0700 |
commit | e0751234ef0df733032b777ed0d993a490121855 (patch) | |
tree | 063f97664cefdf360b84b41611b596dc75f901ad /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | 61177943c9c762c9dd3b43909c5b0d83fdc6dc5f (diff) | |
download | llvm-e0751234ef0df733032b777ed0d993a490121855.zip llvm-e0751234ef0df733032b777ed0d993a490121855.tar.gz llvm-e0751234ef0df733032b777ed0d993a490121855.tar.bz2 |
[CodeGen] Add "noreturn" attirbute to _Unwind_Resume
Currently 'resume' is lowered to _Unwind_Resume with out "noreturn" attribute. Semantically _Unwind_Resume library call is expected to never return and should be marked as such. Though I didn't find any changes in behavior of existing tests there will be a difference once https://reviews.llvm.org/D79485 lands.
I was not able to come up with the test case anything better than just checking for presence of "noreturn" attribute. Please let me know if there is a better way to test the change.
Reviewed By: xbolva00
Differential Revision: https://reviews.llvm.org/D93682
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions