Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • AndyGill's avatar
    d5934bbb
    Haskell Program Coverage · d5934bbb
    AndyGill authored
    This large checkin is the new ghc version of Haskell
    Program Coverage, an expression-level coverage tool for Haskell.
    
    Parts:
    
     - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files.
     - Coverage.lhs - Annotates the HsSyn with coverage tickboxes.
      - New Note's in Core,
          - TickBox      -- ticked on entry to sub-expression
          - BinaryTickBox  -- ticked on exit to sub-expression, depending
    	       	     -- on the boolean result.
    
      - New Stg level TickBox (no BinaryTickBoxes, though) 
    
    You can run the coverage tool with -fhpc at compile time. 
    Main must be compiled with -fhpc. 
    				      
    d5934bbb
    History
    Haskell Program Coverage
    AndyGill authored
    This large checkin is the new ghc version of Haskell
    Program Coverage, an expression-level coverage tool for Haskell.
    
    Parts:
    
     - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files.
     - Coverage.lhs - Annotates the HsSyn with coverage tickboxes.
      - New Note's in Core,
          - TickBox      -- ticked on entry to sub-expression
          - BinaryTickBox  -- ticked on exit to sub-expression, depending
    	       	     -- on the boolean result.
    
      - New Stg level TickBox (no BinaryTickBoxes, though) 
    
    You can run the coverage tool with -fhpc at compile time. 
    Main must be compiled with -fhpc. 
    				      
Code owners
Assign users and groups as approvers for specific file changes. Learn more.