[PATCH] D98191: [flang][driver] Add support for `-fdebug-dump-symbols-sources`

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 16 07:27:06 PDT 2021


awarzynski added a comment.

In D98191#2611694 <https://reviews.llvm.org/D98191#2611694>, @tskeith wrote:

> `-fget-symbols-sources` is not a debug option, it's intended for integrating with IDEs like vscode. So I think the original name is better. Unlike the "dump" options it actually is an action and not something that is intended to produce debug output on the way to doing something else.

Makes sense, updated. Would this option be used to extract debug/code-navigation info? Is there an equivalent in `clang` or `gfortran`? Just curious.

On a separate note, all these debug options <https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Driver/Options.td#L4354-L4371> are _actions_. We may want to fine-tune it at some point.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98191/new/

https://reviews.llvm.org/D98191



More information about the cfe-commits mailing list