Skip to content

Commit

Permalink
Bug 1865953: Fix FreeBSD arm64 missing closing parentheses. r=jpages,…
Browse files Browse the repository at this point in the history
…profiler-reviewers,florian a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com/D195784
  • Loading branch information
yurydelendik committed Dec 7, 2023
1 parent 8d67b28 commit 66d9be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mozglue/baseprofiler/core/platform-linux-android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ static void PopulateRegsFromContext(Registers& aRegs, ucontext_t* aContext) {
aRegs.mSP = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_sp);
aRegs.mFP = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[29]);
aRegs.mLR = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_lr);
aRegs.mR11 = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[11];
aRegs.mR11 = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[11]);
#elif defined(GP_PLAT_mips64_linux) || defined(GP_PLAT_mips64_android)
aRegs.mPC = reinterpret_cast<Address>(mcontext.pc);
aRegs.mSP = reinterpret_cast<Address>(mcontext.gregs[29]);
Expand Down
2 changes: 1 addition & 1 deletion tools/profiler/core/platform-linux-android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static void PopulateRegsFromContext(Registers& aRegs, ucontext_t* aContext) {
aRegs.mSP = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_sp);
aRegs.mFP = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[29]);
aRegs.mLR = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_lr);
aRegs.mR11 = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[11];
aRegs.mR11 = reinterpret_cast<Address>(mcontext.mc_gpregs.gp_x[11]);
#elif defined(GP_PLAT_mips64_linux) || defined(GP_PLAT_mips64_android)
aRegs.mPC = reinterpret_cast<Address>(mcontext.pc);
aRegs.mSP = reinterpret_cast<Address>(mcontext.gregs[29]);
Expand Down

0 comments on commit 66d9be3

Please sign in to comment.