Skip to content

Commit

Permalink
[libunwind] Remove unused ARM SEH placeholder code
Browse files Browse the repository at this point in the history
There's no such corresponding code for ARM64 (which has been working
in production for years). The SEH version of the Unwind functions
(e.g. `_Unwind_GetLanguageSpecificData`) doesn't use these fields.

The `_Unwind_ForcedUnwind` function would need these bits though,
but that's not used in normal C++ exception unwinding.

Differential Revision: https://reviews.llvm.org/D126868
  • Loading branch information
mstorsjo committed Jun 6, 2022
1 parent 7c0e93c commit 64778c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libunwind/src/UnwindCursor.hpp
Expand Up @@ -1965,10 +1965,6 @@ bool UnwindCursor<A, R>::getInfoFromSEH(pint_t pc) {
_info.handler = 0;
}
}
#elif defined(_LIBUNWIND_TARGET_ARM)
_info.end_ip = _info.start_ip + unwindEntry->FunctionLength;
_info.lsda = 0; // FIXME
_info.handler = 0; // FIXME
#endif
setLastPC(pc);
return true;
Expand Down

0 comments on commit 64778c0

Please sign in to comment.