Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • rwbarton's avatar
    3afe35d1
    Fix linker interaction between Template Haskell and HPC (#9762) · 3afe35d1
    rwbarton authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    I'm not really happy about perpetuating the hackish fix for #8696,
    but at least in the context of building with -fhpc, the performance
    cost should be negligible.
    
    I'm suspicious about PlainModuleInitLabel and the Windows stuff too,
    but I don't know what it does / can't test it (respectively) so I'll
    leave those alone for now.
    
    Hopefully out-of-process TH will save us from these hacks some day.
    
    The test is an adaptation of T8696. It's a bit more awkward since
    I couldn't think of a way to get cross-module tickbox references
    without optimizations (inlining), but ghci doesn't permit -O for
    some reason.
    
    (cherry picked from commit 3e3aa925)
    3afe35d1
    History
    Fix linker interaction between Template Haskell and HPC (#9762)
    rwbarton authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    I'm not really happy about perpetuating the hackish fix for #8696,
    but at least in the context of building with -fhpc, the performance
    cost should be negligible.
    
    I'm suspicious about PlainModuleInitLabel and the Windows stuff too,
    but I don't know what it does / can't test it (respectively) so I'll
    leave those alone for now.
    
    Hopefully out-of-process TH will save us from these hacks some day.
    
    The test is an adaptation of T8696. It's a bit more awkward since
    I couldn't think of a way to get cross-module tickbox references
    without optimizations (inlining), but ghci doesn't permit -O for
    some reason.
    
    (cherry picked from commit 3e3aa925)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.