<div dir="ltr">Hi, Waxiadao. <br><br>thank you, it works...!!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-29 0:00 GMT+09:00 <a href="mailto:waxiadao@gmail.com">waxiadao@gmail.com</a> <span dir="ltr"><<a href="mailto:waxiadao@gmail.com" target="_blank">waxiadao@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
</blockquote></div><br></div>