Bug 1584551 - Use correct register name for sigcontext's SP on AMR64 linux. r=jseward

Differential Revision: https://phabricator.services.mozilla.com/D47590

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Lars T Hansen 2019-10-01 09:49:37 +00:00
parent d78d9c367f
commit 6272856be8

View File

@ -136,7 +136,7 @@ using mozilla::DebugOnly;
# define EPC_sig(p) ((p)->uc_mcontext.pc)
# define RFP_sig(p) ((p)->uc_mcontext.regs[29])
# define RLR_sig(p) ((p)->uc_mcontext.regs[30])
# define R31_sig(p) ((p)->uc_mcontext.regs[31])
# define R31_sig(p) ((p)->uc_mcontext.sp)
# endif
# if defined(__linux__) && defined(__mips__)
# define EPC_sig(p) ((p)->uc_mcontext.pc)