diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-12-02 20:46:59 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-12-03 10:36:05 -0500 |
commit | d87d375fb4d18a300a0e24d68eaf7ca6af8b5829 (patch) | |
tree | f1814c5723fd83058c2ecb9228caa022d234611d /rts/RtsFlags.c | |
parent | 83fcaa15e1c7e88508e49a50b544cba953882ae0 (diff) | |
download | haskell-wip/T20734.tar.gz |
rts: +RTS -DL should imply +RTS -Dlwip/T20734
Otherwise the user may be surprised by the missing context provided by
the latter.
Diffstat (limited to 'rts/RtsFlags.c')
-rw-r--r-- | rts/RtsFlags.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 426f04a70c..50de729183 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -462,6 +462,7 @@ usage_text[] = { " -Dp DEBUG: prof", " -Da DEBUG: apply", " -Dl DEBUG: linker", +" -DL DEBUG: linker (verbose)", " -Dm DEBUG: stm", " -Dz DEBUG: stack squeezing", " -Dc DEBUG: program coverage", @@ -2145,6 +2146,7 @@ static void read_debug_flags(const char* arg) break; case 'L': RtsFlags.DebugFlags.linker_verbose = true; + RtsFlags.DebugFlags.linker = true; break; case 'a': RtsFlags.DebugFlags.apply = true; |