• Simon Marlow's avatar
    +RTS -xbXXXXX sets the "heap base" to 0xXXXXXX · 73637ad6
    Simon Marlow authored
    When debugging the GC and storage manager we often want repeated runs
    of the program to allocate memory at the same addresses, so that we
    can set watch points.  Unfortunately the OS doesn't always give us
    memory at predictable addresses.  This flag gives the OS a hint as to
    where we would like our memory allocated.  Previously I did this by
    changing the HEAP_BASE setting in MBlock.h and recompiling, this patch
    just adds a flag so I don't have to recompile.
    73637ad6
Name
Last commit
Last update
..
Block.h Loading commit data...
Bytecodes.h Loading commit data...
ClosureMacros.h Loading commit data...
ClosureTypes.h Loading commit data...
Closures.h Loading commit data...
Cmm.h Loading commit data...
Constants.h Loading commit data...
DNInvoke.h Loading commit data...
Dotnet.h Loading commit data...
GranSim.h Loading commit data...
Hooks.h Loading commit data...
HsFFI.h Loading commit data...
InfoTables.h Loading commit data...
Linker.h Loading commit data...
Liveness.h Loading commit data...
MachDeps.h Loading commit data...
MachRegs.h Loading commit data...
Makefile Loading commit data...
OSThreads.h Loading commit data...
Parallel.h Loading commit data...
README Loading commit data...
Regs.h Loading commit data...
Rts.h Loading commit data...
RtsAPI.h Loading commit data...
RtsConfig.h Loading commit data...
RtsExternal.h Loading commit data...
RtsFlags.h Loading commit data...
RtsMessages.h Loading commit data...
RtsTypeable.h Loading commit data...
RtsTypes.h Loading commit data...
SMP.h Loading commit data...
STM.h Loading commit data...
SchedAPI.h Loading commit data...
Signals.h Loading commit data...
Stable.h Loading commit data...
Stg.h Loading commit data...
StgDLL.h Loading commit data...
StgFun.h Loading commit data...
StgLdvProf.h Loading commit data...
StgMiscClosures.h Loading commit data...
StgProf.h Loading commit data...
StgTypes.h Loading commit data...
Storage.h Loading commit data...
TSO.h Loading commit data...
TailCalls.h Loading commit data...
TickyCounters.h Loading commit data...
config.h Loading commit data...
ghcconfig.h Loading commit data...
ieee-flpt.h Loading commit data...
mkDerivedConstants.c Loading commit data...