sof 2005/03/17 16:57:24 PST
Modified files: (Branch: ghc-6-4-branch)
ghc/compiler/codeGen CgProf.hs
ghc/includes mkDerivedConstants.c
Log:
CgProf.emitCostCentreStackDecl: assume as little as possible about
how the CostCentreStack struct gets laid out by the C compiler
by simply zero padding the struct up until the SIZEOF_CostCentreStack
is reached.
includes/mkDerivedConstants.c: emit sizeof CostCentreStack.
This commit fixes the profiling breakages reported on Windows; mingw-gcc's
layout of CostCentreStack differed from what GHC assumed.
Revision Changes Path
1.6.2.1 +21 -0 fptools/ghc/compiler/codeGen/CgProf.hs
1.11.2.2 +1 -0 fptools/ghc/includes/mkDerivedConstants.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc