OSDN Git Service

[Exception Handling] Unwind tables are required for all functions that have an EH...
authorStefan Pintilie <stefanp@ca.ibm.com>
Fri, 24 Aug 2018 19:38:29 +0000 (19:38 +0000)
committerStefan Pintilie <stefanp@ca.ibm.com>
Fri, 24 Aug 2018 19:38:29 +0000 (19:38 +0000)
commitfcffb94d2a2e99cc9ad9914780426d891805b1ed
treefc392e2c8bc65e714fbe6f38f2966eea82537ccd
parenta694af03de4b41ff1ae9cb3a3f1cc460065c5143
[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/trunk@340641 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