[llvm-dev] How to split module into several ones

Aliaksei Zasenka via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 27 08:18:33 PDT 2016


Hi all,
Can anyone give me advice about an appropriate way for extracting number of
functions from module recursively (starting from entry point). Actually it
may be more than one entry point so all dependent functions and global
values must be extracted.

I've tried llvm-extract tool but it can't do work recursively. Maybe it
would be good to write some Call Graph pass or something. Any thoughts?


Thanks in advance,
Alexey Zasenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161027/3d556780/attachment.html>


More information about the llvm-dev mailing list