aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CodeMoverUtils.cpp
diff options
context:
space:
mode:
authorEvgeniy Brevnov <ybrevnov@azul.com>2020-12-23 14:50:36 +0700
committerEvgeniy Brevnov <ybrevnov@azul.com>2020-12-24 18:14:18 +0700
commite0751234ef0df733032b777ed0d993a490121855 (patch)
tree063f97664cefdf360b84b41611b596dc75f901ad /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp
parent61177943c9c762c9dd3b43909c5b0d83fdc6dc5f (diff)
downloadllvm-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