Add extra check for llvm::Any::TypeId visibility
This check should ensure we don't reproduce the problem fixed by 02df443d More accurately, it checks every llvm::Any::TypeId symbol in libLLVM-x.so and make sure they have weak linkage and are not local to the library, which would lead to duplicate definition if another weak version of the symbol is defined in another linked library. Differential Revision: https://reviews.llvm.org/D109252
Loading