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
Pipeline #12347 failed with stages
in 275 minutes and 44 seconds
......@@ -57,7 +57,11 @@ fingerprintDynFlags dflags@DynFlags{..} this_mod nameio =
-- -fprof-auto etc.
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) $
computeFingerprint nameio flags
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment