Skip to content

Commit

Permalink
Fix the problem introduced by upstream patch llvm#92291 guard the cod…
Browse files Browse the repository at this point in the history
…e added to exclude traceback based unwinding used for AIX.
  • Loading branch information
xingxue-ibm authored and tru committed Jul 30, 2024
1 parent 0e6f64c commit d9c14d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libunwind/src/UnwindCursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,8 @@ void UnwindCursor<A, R>::setInfoBasedOnIPRegister(bool isReturnAddress) {
--pc;
#endif

#if !(defined(_LIBUNWIND_SUPPORT_SEH_UNWIND) && defined(_WIN32))
#if !(defined(_LIBUNWIND_SUPPORT_SEH_UNWIND) && defined(_WIN32)) && \
!defined(_LIBUNWIND_SUPPORT_TBTAB_UNWIND)
// In case of this is frame of signal handler, the IP saved in the signal
// handler points to first non-executed instruction, while FDE/CIE expects IP
// to be after the first non-executed instruction.
Expand Down

0 comments on commit d9c14d4

Please sign in to comment.