search for: visibiliy

Displaying 1 result from an estimated 1 matches for "visibiliy".

Did you mean: visibility
2013 Feb 17
0
[LLVMdev] [llvm-c] LLVMInitializeNativeTarget not exported in shared library
...rmal function call (in addition it allows the function body to be defined directly in the header, instead of a c/cpp file); That in turn means the compiler won't export a symbol for this function, making it inaccessible for other C compatible languages that use the shared library. Applying a visibiliy attribute of default to the functio i.e. changing static inline LLVMBool LLVMInitializeNativeTarget(void) { to __attribute__((visibility("default"))) static inline LLVMBool LLVMInitializeNativeTarget(void) { doesn't work because -fvisibility-inlines-hidden seems to get handed down f...