I’ve been using a pass with opt (built a while ago), which works fine. However, after I built a recent version of LLVM & clang (270133), I got an error when loading my pass as follows:
opt -load Merge/libLLVMMerge.so -Cool axpy.bc
Error opening ‘Merge/libLLVMMerge.so’: Merge/libLLVMMerge.so: undefined symbol: _ZN4llvm18PassManagerBuilder18addGlobalExtensionENS0_16ExtensionPointTyEPFvRKS0_RNS_6legacy15PassManagerBaseEE
-load request ignored.