Propagate breakpoint information when inlining across modules
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
Showing
- compiler/GHC/ByteCode/Asm.hs 3 additions, 4 deletionscompiler/GHC/ByteCode/Asm.hs
- compiler/GHC/ByteCode/Instr.hs 6 additions, 6 deletionscompiler/GHC/ByteCode/Instr.hs
- compiler/GHC/ByteCode/Linker.hs 6 additions, 9 deletionscompiler/GHC/ByteCode/Linker.hs
- compiler/GHC/ByteCode/Types.hs 7 additions, 2 deletionscompiler/GHC/ByteCode/Types.hs
- compiler/GHC/Core/FVs.hs 3 additions, 3 deletionscompiler/GHC/Core/FVs.hs
- compiler/GHC/Core/Lint.hs 4 additions, 4 deletionscompiler/GHC/Core/Lint.hs
- compiler/GHC/Core/Map/Expr.hs 2 additions, 1 deletioncompiler/GHC/Core/Map/Expr.hs
- compiler/GHC/Core/Opt/OccurAnal.hs 1 addition, 1 deletioncompiler/GHC/Core/Opt/OccurAnal.hs
- compiler/GHC/Core/Opt/Simplify/Iteration.hs 2 additions, 2 deletionscompiler/GHC/Core/Opt/Simplify/Iteration.hs
- compiler/GHC/Core/Opt/Specialise.hs 2 additions, 2 deletionscompiler/GHC/Core/Opt/Specialise.hs
- compiler/GHC/Core/Ppr.hs 2 additions, 1 deletioncompiler/GHC/Core/Ppr.hs
- compiler/GHC/Core/Subst.hs 2 additions, 2 deletionscompiler/GHC/Core/Subst.hs
- compiler/GHC/Core/Tidy.hs 2 additions, 2 deletionscompiler/GHC/Core/Tidy.hs
- compiler/GHC/Core/Utils.hs 3 additions, 2 deletionscompiler/GHC/Core/Utils.hs
- compiler/GHC/CoreToIface.hs 8 additions, 10 deletionscompiler/GHC/CoreToIface.hs
- compiler/GHC/CoreToStg.hs 4 additions, 4 deletionscompiler/GHC/CoreToStg.hs
- compiler/GHC/CoreToStg/Prep.hs 2 additions, 2 deletionscompiler/GHC/CoreToStg/Prep.hs
- compiler/GHC/HsToCore/Breakpoints.hs 14 additions, 5 deletionscompiler/GHC/HsToCore/Breakpoints.hs
- compiler/GHC/HsToCore/Ticks.hs 3 additions, 1 deletioncompiler/GHC/HsToCore/Ticks.hs
- compiler/GHC/Iface/Syntax.hs 16 additions, 4 deletionscompiler/GHC/Iface/Syntax.hs
Loading
Please register or sign in to comment