[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 3 commits: rts: LoadArchive/LoadObj - refactor/improvements:
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC Commits: 74cc3f8e by Andreas Klebinger at 2026-07-13T10:58:31+02:00 rts: LoadArchive/LoadObj - refactor/improvements: Properly handle AArch64 COFF bigobj files by relying on the PE-linker specific object identification rather doing adhoc magic number checks. Rather than doing adhoc magic number checking in odd places we know always call verifyAndInitOc on ObjectCode which does those checks in one place. We now properly recognize all of the MachO index sections (__SYMDEF*). Drop the MAchoMisalignment business. It's not needed we align individual sections when loading them. Clean up the windows Importlib detection logic a bit. Fixes #26231 - - - - - 73a24710 by Alan Zimmerman at 2026-07-14T08:37:58-04:00 EPA: Keep binds and sigs together in HsValBindsLR We combine them into a single list for GhcPs, wrapped in the ValBind data type, which is the bind equivalent of ValD, having constructors for binds and sigs. This simplifies exact print processing, especially when using it to update the contents of local binds, as we no longer need AnnSortKey BindTag - - - - - 7703f426 by Andreas Klebinger at 2026-07-14T08:37:59-04:00 Bump nofib submodule to account for MonoLocalBinds. New versions of GHC enable MonoLocalBinds by default. This breaks some of the benchmarks. I've fixed this and this bump pulls in that fix. - - - - - 35 changed files: - + changelog.d/rts-loader-refactor.md - compiler/GHC/Hs/Binds.hs - compiler/GHC/Hs/Instances.hs - compiler/GHC/Hs/Utils.hs - compiler/GHC/HsToCore/Quote.hs - compiler/GHC/HsToCore/Ticks.hs - compiler/GHC/Iface/Ext/Ast.hs - compiler/GHC/Parser/Annotation.hs - compiler/GHC/Parser/PostProcess.hs - compiler/GHC/Rename/Bind.hs - compiler/GHC/Rename/Expr.hs - compiler/GHC/Rename/Module.hs - compiler/GHC/Rename/Names.hs - compiler/GHC/Rename/Utils.hs - compiler/GHC/Runtime/Eval.hs - compiler/GHC/Tc/Deriv.hs - compiler/GHC/ThToHs.hs - compiler/Language/Haskell/Syntax/Binds.hs - compiler/Language/Haskell/Syntax/Extension.hs - ghc/GHCi/UI.hs - nofib - rts/Linker.c - rts/LinkerInternals.h - rts/linker/LoadArchive.c - rts/linker/LoadNativeObjPosix.c - rts/linker/MachO.c - rts/linker/MachO.h - rts/linker/PEi386.c - rts/linker/SymbolExtras.c - testsuite/tests/parser/should_compile/DumpSemis.stderr - testsuite/tests/printer/Test20297.stdout - utils/check-exact/ExactPrint.hs - utils/check-exact/Main.hs - utils/check-exact/Transform.hs - utils/check-exact/Utils.hs The diff was not included because it is too large. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/121fb5cb6aa69a55bda1fb77e9336c2... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/121fb5cb6aa69a55bda1fb77e9336c2... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Marge Bot (@marge-bot)