diff options
author | Shoaib Meenai <smeenai@fb.com> | 2023-05-24 18:32:38 -0700 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2023-05-25 10:56:23 -0700 |
commit | 8f7b51e4ec09f6f50ea6508a196ec607f0659179 (patch) | |
tree | c7bb2f55d9021aa22031b811f8b32e846dcb4aad /clang/lib/Basic/Module.cpp | |
parent | 023504f29ab341d51347a2f95a6aa7c63c723e70 (diff) | |
download | llvm-8f7b51e4ec09f6f50ea6508a196ec607f0659179.zip llvm-8f7b51e4ec09f6f50ea6508a196ec607f0659179.tar.gz llvm-8f7b51e4ec09f6f50ea6508a196ec607f0659179.tar.bz2 |
[CodeGen] Make __clang_call_terminate have an unwind table entry
This enables unwinders to step past that frame on architectures that
don't use DWARF unwinding (such as armv7), e.g. when debugging. The
problem should theoretically be architecture-agnostic, but according to
https://discourse.llvm.org/t/51633/2 it gets masked on architectures
that use DWARF unwind info.
Fixes https://github.com/llvm/llvm-project/issues/40696
Reviewed By: efriedma, rnk
Differential Revision: https://reviews.llvm.org/D151393
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions