[clang] [flang] [llvm] [mlir] [LLVM-Flang] Add support for -fdebug-info-for-profiling option (PR #188022)
Tarun Prabhu via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 08:07:22 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list