================ @@ -1181,7 +1228,9 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext) #endif +#ifndef __arm64ec__ ---------------- mstorsjo wrote: Thanks, that's indeed cleaner when one clearly see which bits are the arm64ec version of that line. https://github.com/llvm/llvm-project/pull/138583