diff options
| author | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-05-14 16:38:30 +0000 |
|---|---|---|
| committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-05-14 16:38:30 +0000 |
| commit | f5864fffc37321ddee81301740c9faaf94d5e6a3 (patch) | |
| tree | c355b0d3d972d16ffbe54a24fb632159c38195b3 /lib/Bitcode/Reader | |
| parent | bb5d9acac77f97e7c93de20ffe0a2eaf6eafd4e2 (diff) | |
| download | llvm-f5864fffc37321ddee81301740c9faaf94d5e6a3.tar.gz llvm-f5864fffc37321ddee81301740c9faaf94d5e6a3.tar.bz2 llvm-f5864fffc37321ddee81301740c9faaf94d5e6a3.tar.xz | |
Fix ARM EHABI when function has landingpad and nounwind.
If the function has the landingpad instruction, then the
handlerdata should be emitted even if the function has
nouwnind attribute. Otherwise, following code will not
work:
void test1() noexcept {
try {
throw_exception();
} catch (...) {
log_unexpected_exception();
}
}
Since the cantunwind was incorrectly emitted and the
LSDA is not available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions
