mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 09:26:28 +02:00
This makes Processor::capture_stack_trace() work on all our architectures. For this function to work on AArch64 and RISC-V, the frame pointer has to be saved during context switches. AArch64 and RISC-V don't support SMP yet, so the code for getting a backtrace for processes running on other cores is guarded behind a '#if ARCH(X86_64)'.
9.7 KiB
9.7 KiB