From 22ff40d617614f49459cf719aafbc2495e735529 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 26 Apr 2023 18:00:50 -0700 Subject: [PATCH] Comment out support for mtag extension in libunwind Works around build breaks with some compiler versions. Fixes https://github.com/dotnet/source-build/issues/3424 --- src/native/external/llvm-libunwind/src/DwarfInstructions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/external/llvm-libunwind/src/DwarfInstructions.hpp b/src/native/external/llvm-libunwind/src/DwarfInstructions.hpp index 7c546c1e9ea97..d242a549e5b47 100644 --- a/src/native/external/llvm-libunwind/src/DwarfInstructions.hpp +++ b/src/native/external/llvm-libunwind/src/DwarfInstructions.hpp @@ -211,7 +211,7 @@ int DwarfInstructions::stepWithDwarf(A &addressSpace, pint_t pc, // __unw_step_stage2 is not used for cross unwinding, so we use // __aarch64__ rather than LIBUNWIND_TARGET_AARCH64 to make sure we are // building for AArch64 natively. -#if defined(__aarch64__) +#if 0 // defined(__aarch64__) if (stage2 && cieInfo.mteTaggedFrame) { pint_t sp = registers.getSP(); pint_t p = sp;