[Git][ghc/ghc][wip/mpickering/get-link-deps] disable traces
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Fri Dec 20 17:15:24 UTC 2024
Rodrigo Mesquita pushed to branch wip/mpickering/get-link-deps at Glasgow Haskell Compiler / GHC
Commits:
e1528985 by Rodrigo Mesquita at 2024-12-20T17:15:16+00:00
disable traces
- - - - -
1 changed file:
- compiler/GHC/Iface/Load.hs
Changes:
=====================================
compiler/GHC/Iface/Load.hs
=====================================
@@ -581,7 +581,7 @@ loadInterface doc_str mod from
; let direct_deps = map (uncurry (flip ModNodeKeyWithUid)) $ (Set.toList (dep_direct_mods $ mi_deps iface))
; let direct_pkg_deps = Set.toList (dep_direct_pkgs $ mi_deps iface)
- ; let !module_graph_key = pprTrace "module_graph_on_load" (ppr (eps_module_graph eps)) $
+ ; let !module_graph_key =
if moduleUnitId mod `elem` hsc_all_home_unit_ids hsc_env
--- ^ home unit mods in eps can only happen in oneshot mode
then Just $ NodeHomePackage (miKey iface) (map ExternalModuleKey direct_deps)
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e1528985b4bcc6c49492ab266a8d4909dd37c2cf
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e1528985b4bcc6c49492ab266a8d4909dd37c2cf
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/20241220/73737780/attachment-0001.html>
More information about the ghc-commits
mailing list