[libunwind] [libunwind] Add initial ARM64EC support (PR #138583)

Jacek Caban via cfe-commits cfe-commits at lists.llvm.org
Wed May 7 15:59:58 PDT 2025


================
@@ -1181,7 +1228,9 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
 
 #endif
 
+#ifndef __arm64ec__
----------------
cjacek wrote:

That's because the alias is more complex, it needs to account for mangled symbol names and requires an additional unmangled weak anti-dependency. Ideally, exports would use the demangled form, although the mangled version would likely still work. I moved the EC alias definition here to keep things cleaner.

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


More information about the cfe-commits mailing list