[flang][driver] Fine-tune `-fdebug-dump-symbols`

Authored by awarzynski on Apr 16 2021, 7:07 AM.


[flang][driver] Fine-tune -fdebug-dump-symbols

When generating output for -fdebug-dump-symbols, make sure that
BuildRuntimeDerivedTypeTables is also run. This change is needed in
order to make the implementation of -fdebug-dump-symbols in
flang-new consistent with f18. It also allows us to port more tests
to use the new driver whenever it is enabled.

Differential Revision: https://reviews.llvm.org/D100649