[Git][ghc/ghc][wip/T25374] rts/Disassembler: Fix encoding of BRK_FUN instruction
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Mon Oct 14 18:54:29 UTC 2024
Ben Gamari pushed to branch wip/T25374 at Glasgow Haskell Compiler / GHC
Commits:
a69c8d66 by Ben Gamari at 2024-10-14T14:54:14-04:00
rts/Disassembler: Fix encoding of BRK_FUN instruction
The offset of the CC field was not updated after the encoding change in
b85b11994e0130ff2401dd4bbdf52330e0bcf776. Fix this.
Fixes #25374.
- - - - -
2 changed files:
- libraries/process
- rts/Disassembler.c
Changes:
=====================================
libraries/process
=====================================
@@ -1 +1 @@
-Subproject commit b8c88fb5bbdebbcbb3e7c734f0c7515dd3cef84e
+Subproject commit a53f925e3ee246e2429418b7a088ecaa0976007b
=====================================
rts/Disassembler.c
=====================================
@@ -67,7 +67,7 @@ disInstr ( StgBCO *bco, int pc )
case bci_BRK_FUN:
debugBelch ("BRK_FUN " ); printPtr( ptrs[instrs[pc]] );
debugBelch (" %d ", instrs[pc+1]); printPtr( ptrs[instrs[pc+2]] );
- CostCentre* cc = (CostCentre*)literals[instrs[pc+3]];
+ CostCentre* cc = (CostCentre*)literals[instrs[pc+5]];
if (cc) {
debugBelch(" %s", cc->label);
}
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a69c8d6698549ec3007d934e7e4817c1983b00b8
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a69c8d6698549ec3007d934e7e4817c1983b00b8
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241014/82a4c5c6/attachment.html>
More information about the ghc-commits
mailing list