Tue Oct 24 14:29:07 PDT 2006 [EMAIL PROTECTED]
* Haskell Program Coverage
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.
M ./compiler/cmm/CLabel.hs +21
M ./compiler/codeGen/CgExpr.lhs +11
A ./compiler/codeGen/CgHpc.hs
M ./compiler/codeGen/CodeGen.lhs -16 +37
M ./compiler/coreSyn/CorePrep.lhs +35
M ./compiler/coreSyn/CoreSyn.lhs +9
M ./compiler/coreSyn/CoreUtils.lhs +15
M ./compiler/coreSyn/PprCore.lhs +16
A ./compiler/deSugar/Coverage.lhs
M ./compiler/deSugar/Desugar.lhs -8 +14
M ./compiler/deSugar/DsBinds.lhs -2 +3
M ./compiler/deSugar/DsExpr.lhs -2 +23
M ./compiler/deSugar/DsUtils.lhs -1 +15
M ./compiler/hsSyn/HsBinds.lhs -2 +10
M ./compiler/hsSyn/HsExpr.lhs +22
M ./compiler/hsSyn/HsUtils.lhs -1 +2
M ./compiler/iface/BinIface.hs -1 +16
M ./compiler/iface/IfaceSyn.lhs +12
M ./compiler/iface/MkIface.lhs +3
M ./compiler/iface/TcIface.lhs +2
M ./compiler/main/DynFlags.hs -1 +19
M ./compiler/main/HscMain.lhs -3 +4
M ./compiler/main/HscTypes.lhs -3 +19
M ./compiler/main/TidyPgm.lhs -3 +11
M ./compiler/parser/RdrHsSyn.lhs -1 +1
M ./compiler/profiling/SCCfinal.lhs +4
M ./compiler/rename/RnBinds.lhs -1 +1
M ./compiler/simplCore/FloatIn.lhs +7
M ./compiler/simplCore/Simplify.lhs +8
M ./compiler/simplStg/SRT.lhs +2
M ./compiler/simplStg/StgStats.lhs +1
M ./compiler/stgSyn/CoreToStg.lhs +13
M ./compiler/stgSyn/StgSyn.lhs +20
M ./compiler/typecheck/TcBinds.lhs -3 +5
M ./compiler/typecheck/TcRnDriver.lhs -1 +2
M ./driver/mangler/ghc-asm.lprl +6
M ./includes/HsFFI.h +2
A ./rts/Hpc.c
A ./rts/Hpc.h
M ./rts/RtsStartup.c +5
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc