[PATCH] D127416: [SystemZ/z/OS] Fix failing dynamic library unit test.

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 10:48:52 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG390111511614: [SystemZ/z/OS] Fix failing dynamic library unit test. (authored by Kai).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127416/new/

https://reviews.llvm.org/D127416

Files:
  llvm/unittests/Support/DynamicLibrary/PipSqueak.h


Index: llvm/unittests/Support/DynamicLibrary/PipSqueak.h
===================================================================
--- llvm/unittests/Support/DynamicLibrary/PipSqueak.h
+++ llvm/unittests/Support/DynamicLibrary/PipSqueak.h
@@ -24,6 +24,8 @@
 
 #ifdef _WIN32
 #define PIPSQUEAK_EXPORT __declspec(dllexport)
+#elif defined(__MVS__)
+#define PIPSQUEAK_EXPORT __attribute__((__visibility__("default")))
 #else
 #define PIPSQUEAK_EXPORT
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127416.435612.patch
Type: text/x-patch
Size: 450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220609/4e676cd2/attachment.bin>


More information about the llvm-commits mailing list