[libunwind] [libunwind] [SEH] Implement parsing of ARM pdata/xdata (PR #137950)

Jacek Caban via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 04:05:03 PDT 2025


Martin =?utf-8?q?Storsjö?= <martin at martin.st>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/137950 at github.com>


================
@@ -2064,6 +2077,51 @@ bool UnwindCursor<A, R>::getInfoFromSEH(pint_t pc) {
       }
     }
   }
+#elif defined(_LIBUNWIND_TARGET_ARM)
----------------
cjacek wrote:

Given how similar the code is to the aarch64 version, it's a bit unfortunate to have to duplicate all of it. Maybe we could condition `UNWIND_INFO_ARM` on the target and reuse it for both 64-bit and 32-bit code? I think that would reduce the differences to just the `end_ip` calculation.

https://github.com/llvm/llvm-project/pull/137950


More information about the cfe-commits mailing list