-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Labels
Description
--profiling-detail=late-inline results in a wrong profile, different than when specifying --ghc-options="-fprof-late-inline". This should work: https://downloads.haskell.org/ghc/9.4.6/docs/users_guide/profiling.html?highlight=profiling
Tested with GHC 9.4.6 and cabal 3.10.1.0.
OTOH, I see this among the tests:
cabal-testsuite/PackageTests/ProfLate/setup.test.hs: -- ["--enable-profiling", "--profiling-detail=late-toplevel"]
which is not a valid option AFAIC, so perhaps the options changed at the last moment. Cabal documentation is lacking, too: https://cabal.readthedocs.io/en/latest/setup-commands.html#cmdoption-runhaskell-Setup.hs-configure-profiling-detail
We could start by updating the test, then fix it, then document.
Reactions are currently unavailable