================ @@ -22,6 +22,15 @@ #include "dwarf2.h" #include "libunwind_ext.h" +#if defined(_LIBUNWIND_TARGET_PPC64) && defined(__BYTE_ORDER__) && \ ---------------- pkubaj wrote:
Right, this is about ABI, not endianness. The original patch was only for LE, because the crash actually doesn't happen on BE. I switched the guard to defined(_CALL_ELF) && _CALL_ELF == 2 and renamed the flag _unw_ppc64_in_backtrace. https://github.com/llvm/llvm-project/pull/212142 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
