diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2017-08-03 23:55:42 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2017-08-03 23:55:42 +0000 |
commit | b72e35a4c41def2d34235cdd7fa3685fe8bddb00 (patch) | |
tree | 14bb72c39d5d143996ab6289fa4a07e7a8489baa /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 8482e56920780be8146b4088ec21502d00b9e440 (diff) | |
download | llvm-b72e35a4c41def2d34235cdd7fa3685fe8bddb00.zip llvm-b72e35a4c41def2d34235cdd7fa3685fe8bddb00.tar.gz llvm-b72e35a4c41def2d34235cdd7fa3685fe8bddb00.tar.bz2 |
[Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions.
This commit fixes a bug where clang/llvm doesn't emit an unwind table
for a function when it is marked noexcept. Without this patch, the
following code terminates with an uncaught exception on ARM64:
int foo1() noexcept {
try {
throw 0;
} catch (int i) {
return 0;
}
return 1;
}
int main() {
return foo1();
}
rdar://problem/32411865
Differential Revision: https://reviews.llvm.org/D35693
llvm-svn: 310006
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions