Skip to content

Show dynamic object files (#16062)

An attempt to fix a small issue #16062 (closed), I hope the implementation is sensible. There is an assumption, that dynamic object file name could be reconstructed from an object file name. In the source code I found dynObjectFile and the corresponding ghc flag -dyno, what gave me an impression that this could change the dynamic object file name and the implementation should take this into account. But tests like:

./inplace/bin/ghc-stage2 -dyno test_dyn -dynamic-too Main.hs

showed that it doesn't change dynamic object file name. Is it correct?


Thank you for your contribution to GHC!

Please take a few moments to verify that your commits fulfill the following:

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to Notes and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a Note and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • if your MR affects library interfaces (e.g. changes base) please add the ~"user facing" label.

If you have any questions don't hesitate to open your merge request and inquire in a comment. If your patch isn't quite done yet please do add prefix your MR title with WIP:.

Merge request reports