1. 05 Nov, 2002 3 commits
  2. 04 Nov, 2002 1 commit
  3. 01 Nov, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-11-01 11:17:29 by simonmar] · 9bffc64e
      simonmar authored
      warning police: #include <string.h> to get proto for strlen()
      9bffc64e
    • simonmar's avatar
      [project @ 2002-11-01 11:16:33 by simonmar] · cbe4e8ae
      simonmar authored
      total_alloc should be a 64-bit couunter.
      
      MERGE TO STABLE
      cbe4e8ae
    • simonmar's avatar
      [project @ 2002-11-01 11:05:46 by simonmar] · 6226441f
      simonmar authored
      Fix the heapCensus crash.
      
      It turned out that after a GC, the small_alloc_list might be non-empty
      if a new finalizer thread had been started.  The last block on
      small_alloc_list doesn't have the free pointer set correctly (as a
      small optimisation, we don't normally set the free pointer after each
      allocation, only when the block is full).  The result was that the
      free pointer contains the wrong value, and the heap census traverses
      garbage.  The fix is to set the free pointer correctly before
      traversing small_alloc_list.
      
      The bug doesn't show up when DEBUG is on, because extra DEBUG checks
      cause the free pointer to be initialised to a sensible(-ish) value.
      Hence my difficulty in reproducing the bug.
      
      To reproduce: compile ghc-regress/lib/should_run/memo002 with
      profiling and run it with a sufficiently small sample interval (-i0.02
      did it for me).
      
      Thanks to the kind folks at ARM for helping out with the debugging of
      this one.
      
      MERGE TO STABLE
      6226441f
  4. 31 Oct, 2002 2 commits
  5. 30 Oct, 2002 4 commits
  6. 29 Oct, 2002 9 commits
  7. 28 Oct, 2002 3 commits
  8. 27 Oct, 2002 3 commits
  9. 25 Oct, 2002 9 commits
  10. 24 Oct, 2002 3 commits
    • simonpj's avatar
      [project @ 2002-10-24 16:54:19 by simonpj] · 1dafd8c2
      simonpj authored
      Uh oh; got the versioning stuff a bit wrong in the last commit
      1dafd8c2
    • simonpj's avatar
      [project @ 2002-10-24 14:17:46 by simonpj] · e0445ffa
      simonpj authored
      ------------------------------------------
      	1. New try and module and package dependencies
      	2. OrigNameCache always contains final info
      	------------------------------------------
      
      These things nearly complete sorting out the incremental
      linking problem that started us off!
      
      1. This commit separates two kinds of information:
      
        (a) HscTypes.Dependencies:
      	What (i)  home-package modules, and
      	     (ii) other packages
            this module depends on, transitively.
      
            That is, to link the module, it should be enough
            to link the dependent modules and packages (plus
            any C stubs etc).
      
            Along with this info we record whether the dependent module
            is (a) a boot interface or (b) an orphan module.  So in
            fact (i) can contain non-home-package modules, namely the
            orphan ones in other packages (sigh).
      
        (b) HscTypes.Usage:
            What version of imported things were used to
            actually compile the module.  This info is used for
            recompilation control only.
      
      
      
      2. The Finder now returns a correct Module (incl package indicator)
      first time, so we can install the absolutely final Name in the
      OrigNameCache when we first come across an occurrence of that name,
      even if it's only an occurrence in an unfolding in some other interface
      file.  This is much tidier.
      
      As a result Module.lhs is much cleaner
      	No DunnoYet
      	No mkVanillaModule
      ALl very joyful stuff.
      e0445ffa
    • simonmar's avatar
      [project @ 2002-10-24 13:08:35 by simonmar] · 04a63774
      simonmar authored
      In --make mode, consider everything that doesn't contain a '.' to be a
      compilation manager input.  This fixes cases like
      
        ghc --make test37
      
      where test37.hs exists.  I broke this in the previous commit, causing
      a number of tests to break.
      04a63774