Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 81d7d0a

Browse files
committed
[core/sys/freebsd/execinfo] add backtrace implementation for AArch64
1 parent bd67a95 commit 81d7d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/sys/freebsd/execinfo.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ else
3838
asm nothrow @trusted { mov p[EBP], EBP; }
3939
else version (D_InlineAsm_X86_64)
4040
asm nothrow @trusted { mov p[RBP], RBP; }
41+
else version (AArch64)
42+
asm nothrow @trusted { "str x29, %0" : "=m" (p); }
4143
else
4244
static assert(false, "Architecture not supported.");
4345

0 commit comments

Comments
 (0)