[flang-commits] [clang] [flang] [flang][Driver] Support -gsplit-dwarf. (PR #160540)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Thu Sep 25 06:44:44 PDT 2025


================
@@ -131,20 +135,57 @@ void Flang::addOtherOptions(const ArgList &Args, ArgStringList &CmdArgs) const {
                    options::OPT_finstrument_functions});
 
   llvm::codegenoptions::DebugInfoKind DebugInfoKind;
+  bool hasDwarfNArg = getDwarfNArg(Args) != nullptr;
----------------
tarunprabhu wrote:

That's fine. I don't have any strong opinion either way. We can leave it as it is.

https://github.com/llvm/llvm-project/pull/160540


More information about the flang-commits mailing list