]> granicus.if.org Git - llvm/commit
Merging r340641:
authorHans Wennborg <hans@hanshq.net>
Mon, 27 Aug 2018 10:05:36 +0000 (10:05 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 27 Aug 2018 10:05:36 +0000 (10:05 +0000)
commitd6e617b922ed4e06fdae773a6e889146ad3e63b9
tree47ced3c05525d4539acdfe457caa95d8658cf8a9
parent4a4bff54966e7902629a66835292356064322de6
Merging r340641:
------------------------------------------------------------------------
r340641 | stefanp | 2018-08-24 21:38:29 +0200 (Fri, 24 Aug 2018) | 9 lines

[Exception Handling] Unwind tables are required for all functions that have an EH personality.

This patch is for defect:
https://bugs.llvm.org/show_bug.cgi?id=32611

Functions may require unwind tables even if they are marked with the attribute
nounwind. Any function with an EH personality may require an unwind table.

Differential Revision: https://reviews.llvm.org/D50987
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340731 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Function.h
test/CodeGen/PowerPC/uwtables.ll [new file with mode: 0644]
test/CodeGen/X86/uwtables.ll [new file with mode: 0644]
test/CodeGen/X86/x86-shrink-wrap-unwind.ll