[flang-commits] [clang] [flang] [flang][Driver] Support -gsplit-dwarf. (PR #160540)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Sep 24 10:51:34 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:
Is it necessary to compare to `nullptr` here?
```suggestion
bool hasDwarfNArg = getDwarfNArg(Args);
```
https://github.com/llvm/llvm-project/pull/160540
More information about the flang-commits
mailing list