[flang-commits] [flang] [flang][debug] Generate DISubprogramAttr for omp::TargetOp. (PR #138039)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Tue May 13 04:30:11 PDT 2025


================
@@ -510,8 +542,73 @@ void AddDebugInfoPass::handleFuncOp(mlir::func::FuncOp funcOp,
       subTypeAttr, entities, /*annotations=*/{});
   funcOp->setLoc(builder.getFusedLoc({l}, spAttr));
 
+  /* When we process the DeclareOp inside the OpenMP target region, all the
----------------
skatrak wrote:

Nit: The general convention for comments is to use `//`: https://llvm.org/docs/CodingStandards.html#comment-formatting.

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


More information about the flang-commits mailing list