================
@@ -193,6 +193,11 @@ void Flang::addDebugOptions(const llvm::opt::ArgList
&Args, const JobAction &JA,
CmdArgs.push_back(SplitDWARFOut);
}
}
+ if (Args.hasFlag(options::OPT_fdebug_info_for_profiling,
----------------
tarunprabhu wrote:
Instead of duplicating this code, could it be shared between `clang` and
`flang`? There is precedent for moving code like this into
`clang/lib/Driver/CommonArgs.cpp`
https://github.com/llvm/llvm-project/pull/188022
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits