[project @ 2000-03-08 17:48:24 by simonmar]
authorsimonmar <unknown>
Wed, 8 Mar 2000 17:48:26 +0000 (17:48 +0000)
committersimonmar <unknown>
Wed, 8 Mar 2000 17:48:26 +0000 (17:48 +0000)
commitde896403dfe48bc999e5501eb8b517624dd2e5d4
tree6836318d5a9488c2342e29bb80cc0ff67073acea
parent54e6a4e1fc2313e5462973d8988b714efd6ab9e5
[project @ 2000-03-08 17:48:24 by simonmar]
- generalise the per-module initialisation stubs so that we use it
  in normal (non-profiled) code too.  The initialisation stubs are
  now called '__init_<module>' rather than '_reg<module>'.

- Register foreign exported functions as stable pointers in the
  initialisation code for the module.  This fixes the foreign export
  problems reported by several people.

- remove the concept of "module groups" from the profiling subsystem.

- change the profiling semantics slightly; it should be unnecessary
  to use '-caf-all' to get reasonable profiles now.
28 files changed:
ghc/compiler/absCSyn/AbsCSyn.lhs
ghc/compiler/absCSyn/AbsCUtils.lhs
ghc/compiler/absCSyn/PprAbsC.lhs
ghc/compiler/codeGen/CodeGen.lhs
ghc/compiler/deSugar/Desugar.lhs
ghc/compiler/deSugar/DsBinds.lhs
ghc/compiler/deSugar/DsExpr.lhs
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/deSugar/DsMonad.lhs
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/Main.lhs
ghc/compiler/profiling/CostCentre.lhs
ghc/compiler/profiling/SCCfinal.lhs
ghc/compiler/rename/ParseIface.y
ghc/compiler/simplStg/SimplStg.lhs
ghc/driver/ghc-asm.lprl
ghc/driver/ghc.lprl
ghc/includes/Profiling.h
ghc/includes/StgMacros.h
ghc/includes/StgProf.h
ghc/rts/ProfHeap.c
ghc/rts/ProfRts.h
ghc/rts/Profiling.c
ghc/rts/RtsFlags.c
ghc/rts/RtsFlags.h
ghc/rts/RtsStartup.c
ghc/rts/StgStartup.h
ghc/rts/StgStartup.hc