mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +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)'.
1.8 KiB
1.8 KiB