[Mlir-commits] [flang] [mlir] [mlir][debug] Handle DIImportedEntity. (PR #103055)

Abid Qadeer llvmlistbot at llvm.org
Fri Aug 23 02:06:59 PDT 2024


================
@@ -306,6 +306,18 @@ llvm::DISubprogram *DebugTranslation::translateImpl(DISubprogramAttr attr) {
       static_cast<llvm::DISubprogram::DISPFlags>(attr.getSubprogramFlags()),
       compileUnit);
 
+  SmallVector<llvm::Metadata *> retainedNodes;
+
+  for (auto nodeAttr : attr.getRetainedNodes()) {
+    if (DIImportedEntityAttr importedAttr =
----------------
abidh wrote:

Done.

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


More information about the Mlir-commits mailing list