[LLVMdev] undefined symbol: _ZTIN4llvm10ModulePassE

Welson Sun welson.sun at gmail.com
Wed Oct 30 11:08:35 PDT 2013


It turns out to be RTTI related. If I compile LLVM with RTTI, there is no
undefined symbol: _ZTIN4llvm10ModulePassE message.




On Tue, Oct 29, 2013 at 11:38 AM, Welson Sun <welson.sun at gmail.com> wrote:

> I have a MdoulePass which compiles and runs fine with LLVM3.1. Then I
> wanted to upgrade to LLVM3.3, it compiles and links fine, but when you run
> it by "opt -load /path/to/.so", it shows this message:
>
> undefined symbol: _ZTIN4llvm10ModulePassE
>
> which means undefined symbol: llvm::ModulePass after demangling.
>
> Googled for a while and still no clue.
>
> Anybody have an idea?
>
> Thanks,
> Welson
>



-- 
Welson

Phone: (408) 418-8385
Email:  welson.sun at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131030/7d5c3e95/attachment.html>


More information about the llvm-dev mailing list