<p>Hello,<br>
1.If you're on Windows,particularly x86 one,you have to check whether the function test1 is renamed to _test1 in your executable.<br>
2.You have to append parameters like -fpic -rdynamic to make sure that your function is to be exported.And if you don't want to do so,you may have to call llvm::sys::DynamicLibrary::AddSymbol() or create your own MemoryManager.</p>