[PATCH] D146814: [Flang] Add debug flag to enable current debug information pass

Andrzej Warzynski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 04:12:33 PDT 2023


awarzynski accepted this revision.
awarzynski added a comment.
This revision is now accepted and ready to land.

LGTM, thanks for working on this! (please fix the name in CommonArgs.h before landing this)

It would be great to see a test that checks for debug info in the generated FIR/MLIR/LLVM-IR/ASM file. But that could happen in a separate patch.



================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.h:111
+llvm::codegenoptions::DebugInfoKind
+DebugLevelToInfoKind(const llvm::opt::Arg &A);
+
----------------
CamelCase or camelCase? ;-)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146814



More information about the cfe-commits mailing list