Skip to content
  • Sylvain Henry's avatar
    Refactor GHC.Driver.Session (Ways and Flags) · 8e6febce
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
    * extract flags and ways into their own modules (with some renaming)
    
    * remove one SOURCE import of GHC.Driver.Session from GHC.Driver.Phases
    
    * when GHC uses dynamic linking (WayDyn), `interpWays` was only
      reporting WayDyn even if the host was profiled (WayProf).  Now it
      returns both as expected (might fix #16803).
    
    * `mkBuildTag :: [Way] -> String` wasn't reporting a canonical tag for
      differently ordered lists. Now we sort and nub the list to fix this.
    8e6febce