depanal :: GhcMonad m=> [ModuleName]excluded modules
-> Boolallow duplicate roots
-> m ModuleGraph
Perform a dependency analysis starting from the current targets and update the session with the new module graph.
Dependency analysis entails parsing the import directives and may
therefore require running certain preprocessors.
Note that each ModSummary in the module graph caches its DynFlags.
These DynFlags are determined by the current session DynFlags and the
OPTIONS and LANGUAGE pragmas of the parsed module. Thus if you want
changes to the DynFlags to take effect you need to call this function
again.
In case of errors, just throw them.