mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[libunwind][AArch64] Unbreak building with GNU assembler
GNU assembler mandates armv8.5-a for memtag instructions. Maybe we should remove this restriction in GNU assembler, but let's work around it for current GNU Binutils releases. Differential Revision: https://reviews.llvm.org/D146109
This commit is contained in:
parent
4a2757d80f
commit
5d276380b0
@ -224,7 +224,8 @@ int DwarfInstructions<A, R>::stepWithDwarf(A &addressSpace, pint_t pc,
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user