Changes between Version 3 and Version 4 of Debugging/ProfilingGhc


Ignore:
Timestamp:
Mar 16, 2011 12:14:05 AM (3 years ago)
Author:
ezyang
Comment:

mention BuildFlavour?

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/ProfilingGhc

    v3 v4  
    99to your `build.mk` file.  This is more robust than trying things like `GhcStage2HcOpts += -prof` because there are several things to do: first we build the ghc library, then we build the ghc program, linked against the library. 
    1010 
     11You can also use the prof BuildFlavor: 
     12 
     13{{{ 
     14# Profile the stage2 compiler: 
     15BuildFlavour = prof 
     16}}} 
     17 
    1118Once you've done this, you should be able to run GHC (stage 2) to generate time and space profiles. For example: 
    1219{{{