[Mlir-commits] [mlir] [mlir] Workaround for export lib generation on Windows for `mlir_arm_sme_abi_stubs` (PR #73147)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Nov 22 10:21:19 PST 2023


================
@@ -18,6 +33,10 @@
 // a path to an alternate implementation.
 
 extern "C" {
+void MLIR_ARNSMEABISTUBS_EXPORT _mlir_arm_sme_abi_stubs_exportstub() {
+  // TODO: is function is not used, need at least one exported symbol on Windows
+  // to generate export library.
+}
----------------
MacDue wrote:

Rather than add this dummy function, I think you can just add `MLIR_ARNSMEABISTUBS_EXPORT` to one (or all) of the functions already here. 

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


More information about the Mlir-commits mailing list