Seed unsafeGlobalDynFlags with enough information to use ppr
At the moment the pretty-printer isn't functional if used before
DynFlags is initialized by
initGhcMonad. In particular things like
pprPanic aren't usable since
unsafeGlobalDynFlags isn't yet initialized. This is quite annoying during development.
It seems like it should be possible to seed
unsafeGlobalDynFlags with some minimal
DynFlags, presumably with rather verbose output (as this is presumably what you want when debugging a compiler crash early in startup).