GHC.StgToJS.Deps

ghc-9.14.0.20251028: The GHC API

Copyright | (c) The University of Glasgow 2001
License | BSD-style (see the file LICENSE)
Maintainer | Jeffrey Young <jeffrey.young@iohk.io> Luite Stegeman <luite.stegeman@iohk.io> Sylvain Henry <sylvain.henry@iohk.io> Josh Meredith <josh.meredith@iohk.io>
Stability | experimental
Safe Haskell | None
Language | GHC2021

GHC.StgToJS.Deps

Description

Module to calculate the transitive dependencies of a module

Synopsis

- genDependencyData :: HasDebugCallStack => Module -> [LinkableUnit] -> G BlockInfo

# Documentation

genDependencyData :: HasDebugCallStack => Module -> [LinkableUnit] -> G BlockInfo Source #

Generate module dependency data

Generate the object's dependency data, taking care that package and module names are only stored once