Skip to content
  • Matthew Pickering's avatar
    Add option to give each usage of a data constructor its own info table · a7aac008
    Matthew Pickering authored
    The `-fdistinct-constructor-tables` flag will generate a fresh info
    table for the usage of any data constructor. This is useful for
    debugging as now by inspecting the info table, you can determine which
    usage of a constructor caused that allocation rather than the old
    situation where the info table always mapped to the definition site of
    the data constructor which is useless.
    
    In conjunction with `-hi` and `-finfo-table-map` this gives a more fine
    grained understanding of where constructor allocations arise from in a
    program.
    a7aac008