Very long command line leads to an invalid eventlog
Reproduce with:
echo "module A100 where" > A100.hs
echo -optP-D__F{1..10000}__ > T14697-flags
ghc --make A100 $(cat T14697-flags) +RTS -l
Produces an eventlog which ghc-events
fails to parse.
[nix-shell:~/eventlog2html]$ cabal run eventlog2html -- ghc.eventlog
eventlog2html: Ix{Int}.index: Index (24415) out of range ((0,212))