Skip to content
Snippets Groups Projects
Commit 55bc3787 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

FlagChecker: Add ticky flags to hashed flags

These affect output and therefore should be part of the flag hash.
parent a424229d
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,11 @@ fingerprintDynFlags dflags@DynFlags{..} this_mod nameio = ...@@ -57,7 +57,11 @@ fingerprintDynFlags dflags@DynFlags{..} this_mod nameio =
-- -fprof-auto etc. -- -fprof-auto etc.
prof = if gopt Opt_SccProfilingOn dflags then fromEnum profAuto else 0 prof = if gopt Opt_SccProfilingOn dflags then fromEnum profAuto else 0
flags = (mainis, safeHs, lang, cpp, paths, prof) -- Ticky
ticky =
map (`gopt` dflags) [Opt_Ticky, Opt_Ticky_Allocd, Opt_Ticky_LNE, Opt_Ticky_Dyn_Thunk]
flags = (mainis, safeHs, lang, cpp, paths, prof, ticky)
in -- pprTrace "flags" (ppr flags) $ in -- pprTrace "flags" (ppr flags) $
computeFingerprint nameio flags computeFingerprint nameio flags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment