Displaying 1 result from an estimated 1 matches for "cindex_linkag".
Did you mean:
cindex_linkage
2013 Mar 03
0
[LLVMdev] Effect of weak symbols on llvm tools/clang startup time
...couple of
small changes which seems to greatly improve the situation:
1) I've modified HandleLLVMOptions.cmake to add "-fvisibility=hidden"
where "-fvisibility-inlines-hidden" is currently appended to the
CXXFLAGS
2) I've also modified clang's Platform.h to properly CINDEX_LINKAGE as
__attribute__((visibility ((default)))
The build seems to be working correctly, at least on Linux. I'd like to
ask if there is something I'm missing or if it could be possible to
include such fixes upstream. I'm attaching tentative patches for both
changes.
Regards,
Alessandro Pig...