diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-08-12 14:07:34 -0400 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2020-11-19 21:30:45 +0100 |
commit | 2e36cda155d19228967572dfde036785bc80ef1b (patch) | |
tree | 9c11cc3a1055189ab33cf2a21ac5f6e773af04c2 /compiler/GHC/Core/Lint.hs | |
parent | 160d80c64b1ed39042b0914f79b134157494b4b3 (diff) | |
download | haskell-wip/T18566.tar.gz |
Introduce -fprof-callers flagwip/T18566
This introducing a new compiler flag to provide a convenient way to
introduce profiler cost-centers on all occurrences of the named
identifier.
Closes #18566.
Diffstat (limited to 'compiler/GHC/Core/Lint.hs')
-rw-r--r-- | compiler/GHC/Core/Lint.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Core/Lint.hs b/compiler/GHC/Core/Lint.hs index 4dc3ec0abe..a1eae78a60 100644 --- a/compiler/GHC/Core/Lint.hs +++ b/compiler/GHC/Core/Lint.hs @@ -355,6 +355,7 @@ coreDumpFlag CoreTidy = Just Opt_D_dump_simpl coreDumpFlag CorePrep = Just Opt_D_dump_prep coreDumpFlag CoreOccurAnal = Just Opt_D_dump_occur_anal +coreDumpFlag CoreAddCallerCcs = Nothing coreDumpFlag CoreDoPrintCore = Nothing coreDumpFlag (CoreDoRuleCheck {}) = Nothing coreDumpFlag CoreDoNothing = Nothing |