It's necessary to grab information available in the HI dump files, like addDependentFile information. The alternative would require an extra executable of the ghc executable for each .hi file, which is prohibitively expensive. I agree that the current situation is far from ideal, but it's AFAIK the best trade-off we have.
if these file move to the specified dump-dir, I think better than now (Easy to understand the output location.). Perhaps not strictly correct the above result, but very useful for me. What do you think about this?
I'd be OK with such a PR. It may be simpler to copy the files from where they're currently output by GHC to a new location, instead of trying to convince GHC to use a new directory and then parse it. Are you interested in taking a stab at a PR?
I want to display on the standard output, not to save to a file.
Why does the extraBuildOptions function specify the
" -ddump-hi -ddump-to-file"option by default?
If remove this option, I think it will work as expected.
The text was updated successfully, but these errors were encountered: