Skip to content

Add RTS-flag --read-tix-file=<yes|no> (GHC proposal 612)

BinderDavid requested to merge BinderDavid/ghc:wip/read-tix-file-rts-flag into master

The following GHC proposal: https://github.com/ghc-proposals/ghc-proposals/pull/612 has now been accepted. GHC 9.10 will add the --read-tix-file=<yes|no> flag which defaults to true. A deprecation warning is emitted if a tix file is found and read in. This looks as follows:

> ./Example
Hello
>./Example
Deprecation warning:
I am reading in the existing tix file, and will add hpc info from this run to the existing data in that file.
GHC 9.12 will cease looking for an existing tix file by default.
If you positively want to add hpc info to the current tix file, use the RTS option --read-tix-file=yes.
More information can be found in the accepted GHC proposal 612.
Hello
> rm Example.tix
> ./Example
Hello
Edited by BinderDavid

Merge request reports