File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 199199#define LLVM_ABI_EXPORT __declspec (dllexport)
200200#elif defined(__ELF__) || defined(__MINGW32__) || defined(_AIX) || \
201201 defined (__MVS__)
202- #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
203- #define LLVM_TEMPLATE_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
202+ #define LLVM_ABI __attribute__ ((visibility( " default " )))
203+ #define LLVM_TEMPLATE_ABI __attribute__ ((visibility( " default " )))
204204#define LLVM_EXPORT_TEMPLATE
205- #define LLVM_ABI_EXPORT LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
205+ #define LLVM_ABI_EXPORT __attribute__ ((visibility( " default " )))
206206#elif defined(__MACH__) || defined(__WASM__) || defined(__EMSCRIPTEN__)
207- #define LLVM_ABI LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
207+ #define LLVM_ABI __attribute__ ((visibility( " default " )))
208208#define LLVM_TEMPLATE_ABI
209209#define LLVM_EXPORT_TEMPLATE
210- #define LLVM_ABI_EXPORT LLVM_ATTRIBUTE_VISIBILITY_DEFAULT
210+ #define LLVM_ABI_EXPORT __attribute__ ((visibility( " default " )))
211211#endif
212212#else
213213#define LLVM_ABI
You can’t perform that action at this time.
0 commit comments