[llvm-dev] Can I write LLVM pass using add_llvm_library, not add_llvm_loadable_module?

Donghyeon Lee via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 27 14:11:19 PDT 2016


I'd write new transform pass related to some function optimization, and
contribute it into LLVM. But Writing an LLVM Pass
<http://llvm.org/docs/WritingAnLLVMPass.html> was described only using as
dynamic LLVM loadable modules (.so extensions).

I want to write LLVM pass using add_llvm_library, not
add_llvm_loadable_module in CMakeLists.txt. Can I do it? If yes, how?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160828/a72b3e6b/attachment.html>


More information about the llvm-dev mailing list