Skip to content
  • Zubin's avatar
    Track object file dependencies for TH accurately (#20604) · 4b04f7e1
    Zubin authored and Marge Bot's avatar Marge Bot committed
    `hscCompileCoreExprHook` is changed to return a list of `Module`s required
    by a splice. These modules are accumulated in the TcGblEnv (tcg_th_needed_mods).
    Dependencies on the object files of these modules are recording in the
    interface.
    
    The data structures in `LoaderState` are replaced with more efficient versions
    to keep track of all the information required. The
    MultiLayerModulesTH_Make allocations increase slightly but runtime is
    faster.
    
    Fixes #20604
    
    -------------------------
    Metric Increase:
        MultiLayerModulesTH_Make
    -------------------------
    4b04f7e1