[libcxx-commits] [PATCH] D146109: [libunwind][AArch64] Unbreak building with GNU assembler

Nikita Popov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 17 01:28:40 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5d276380b0b4: [libunwind][AArch64] Unbreak building with GNU assembler (authored by xry111, committed by nikic).
Herald added a project: LLVM.
Herald added subscribers: libcxx-commits, llvm-commits.
Herald added 1 blocking reviewer(s): libunwind.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146109/new/

https://reviews.llvm.org/D146109

Files:
  libunwind/src/DwarfInstructions.hpp


Index: libunwind/src/DwarfInstructions.hpp
===================================================================
--- libunwind/src/DwarfInstructions.hpp
+++ libunwind/src/DwarfInstructions.hpp
@@ -224,7 +224,8 @@
         p &= ~0xfULL;
         // CFA is the bottom of the current stack frame.
         for (; p < cfa; p += 16) {
-          __asm__ __volatile__(".arch_extension memtag\n"
+          __asm__ __volatile__(".arch armv8.5-a\n"
+                               ".arch_extension memtag\n"
                                "stg %[Ptr], [%[Ptr]]\n"
                                :
                                : [Ptr] "r"(p)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146109.506004.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230317/2f853768/attachment-0001.bin>


More information about the libcxx-commits mailing list