Skip to content
  • Torsten Schmits's avatar
    Propagate breakpoint information when inlining across modules · c59fbb0b
    Torsten Schmits authored
    Tracking ticket: #23394
    
    MR: !10448
    
    * Add constructor `IfaceBreakpoint` to `IfaceTickish`
    * Store breakpoint data in interface files
    * Store `BreakArray` for the breakpoint's module, not the current module, in BCOs
    * Store module name in BCOs instead of `Unique`, since the `Unique` from an `Iface` doesn't match the modules in GHCi's
      state
    * Allocate module name in `ModBreaks`, like `BreakArray`
    * Lookup breakpoint by module name in GHCi
    * Skip creating breakpoint instructions when no `ModBreaks` are available, rather than injecting `ModBreaks` in the
      linker when breakpoints are enabled, and panicking when `ModBreaks` is missing
    c59fbb0b