[Exception Handling] Unwind tables are required for all functions that have an EH...
authorStefan Pintilie <stefanp@ca.ibm.com>
Fri, 24 Aug 2018 15:51:47 +0000 (15:51 +0000)
committerStefan Pintilie <stefanp@ca.ibm.com>
Fri, 24 Aug 2018 15:51:47 +0000 (15:51 +0000)
commit36f31617d3b64da3965f0d2d5173e03beece5de5
tree12af0144834a30f624b86d2469a51a9eda710d57
parent980da83f8417e4af10e78f8992e5e31586563ed7
[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

llvm-svn: 340614
llvm/include/llvm/IR/Function.h
llvm/test/CodeGen/PowerPC/uwtables.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/uwtables.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll