External Publication
Visit Post

Cabal -finfo-table-map not working? GHC 9.10.3

Haskell Community [Unofficial] April 29, 2026
Source

Cabal 3.16.0.0

I’m trying to profile some code a la this and this I can’t seem to get the table map info to show on the detailed page of eventlog2html?

In my cabal file for the game-engine-profile executable I have:

    ghc-options:
        -O2
        -threaded
        -prof
        "-with-rtsopts= -hi -pj -l"

    ghc-prof-options:
        -finfo-table-map
        -fdistinct-constructor-tables

I’ve also tried running it with:

cabal run exe:game-engine-profile -O2 -finfo-table-map and cabal run exe:game-engine-profile -O2 -- [rtsopts] -finfo-table-map to no avail.

What am I missing? Thanks in advance.

Discussion in the ATmosphere

Loading comments...