Skip to content
  • Ömer Sinan Ağacan's avatar
    Fix #15038 · b2ff5dde
    Ömer Sinan Ağacan authored
    We introduce a new Id for unused pointer values in unboxed sums that is
    not CAFFY. Because the Id is not CAFFY it doesn't make non-CAFFY
    definitions CAFFY, fixing #15038.
    
    To make sure anything referenced by the new id will be retained we get a
    stable pointer to in on RTS startup.
    
    Test Plan: Passes validate
    
    Reviewers: simonmar, simonpj, hvr, bgamari, erikd
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #15038
    
    Differential Revision: https://phabricator.haskell.org/D4680
    b2ff5dde