[llvm-dev] writing a pass, questions

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 11 03:29:10 PDT 2017


> and here's what I see
>
> Error opening 'LLVMZap.so': /home/briggs/llvm-cilk/new_install/bin/../lib/LLVMZap.so:
> undefined symbol: _ZNK4llvm12FunctionPass17createPrinterPassERNS_11raw_
> ostreamERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE
>   -load request ignored.
>
>
> The error message is quite similar to what I see when I'm experimenting
> with my old pass.
>

​Do you build `opt` and your .so with the same LLVM source?

Regards,
chenwj​

--
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170411/9f7766f5/attachment.html>


More information about the llvm-dev mailing list