• andy@galois.com's avatar
    Haskell Program Coverage · d5934bbb
    andy@galois.com 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
SCCfinal.lhs 12.8 KB