Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Marlow's avatar
    23e5985c
    FIX #1418 (partially) · 23e5985c
    Simon Marlow authored
    When the con_desc field of an info table was made into a relative
    reference, this had the side effect of making the profiling fields
    (closure_desc and closure_type) also relative, but only when compiling
    via C, and the heap profiler was still treating them as absolute,
    leading to crashes when profiling with -hd or -hy.
    
    This patch fixes up the story to be consistent: these fields really
    should be relative (otherwise we couldn't make shared versions of the
    profiling libraries), so I've made them relative and fixed up the RTS
    to know about this.
    23e5985c
    History
    FIX #1418 (partially)
    Simon Marlow authored
    When the con_desc field of an info table was made into a relative
    reference, this had the side effect of making the profiling fields
    (closure_desc and closure_type) also relative, but only when compiling
    via C, and the heap profiler was still treating them as absolute,
    leading to crashes when profiling with -hd or -hy.
    
    This patch fixes up the story to be consistent: these fields really
    should be relative (otherwise we couldn't make shared versions of the
    profiling libraries), so I've made them relative and fixed up the RTS
    to know about this.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.