[clang] [flang] [llvm] [mlir] [LLVM-Flang] Add support for -fdebug-info-for-profiling option (PR #188022)

Kaviya Rajendiran via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 04:17:20 PDT 2026


================
@@ -425,6 +425,7 @@ def LLVM_DICompileUnitAttr : LLVM_Attr<"DICompileUnit", "di_compile_unit",
     OptionalParameter<"StringAttr">:$producer,
     "bool":$isOptimized,
     "DIEmissionKind":$emissionKind,
+    OptionalParameter<"bool">:$debugInfoForProfiling,
----------------
kaviya2510 wrote:

Thankyou @gysit for pointing out the tests related to MLIR. I modified the mentioned testcases. Could you please check it?

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


More information about the cfe-commits mailing list