[Mlir-commits] [flang] [mlir] Reapply "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106571) with fixes (PR #106947)

Tobias Gysi llvmlistbot at llvm.org
Mon Sep 2 01:23:37 PDT 2024


================
@@ -234,10 +234,14 @@ MLIR_CAPI_EXPORTED MlirAttribute mlirLLVMDIBasicTypeAttrGet(
     MlirContext ctx, unsigned int tag, MlirAttribute name, uint64_t sizeInBits,
     MlirLLVMTypeEncoding encoding);
 
+/// Creates a self-referencing LLVM DICompositeType attribute.
+MLIR_CAPI_EXPORTED MlirAttribute
----------------
gysit wrote:

mlirLLVMDICompositeTypeAttrGetRecSelf and mlirLLVMDISubprogramAttrGetRecSelf have been missing the MLIR_CAPI_EXPORTED prefix.

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


More information about the Mlir-commits mailing list