[LLVMdev] Merging Modules
Devang Patel
dpatel at apple.com
Thu Sep 8 10:57:21 PDT 2011
Hi Paul,
On Sep 8, 2011, at 10:52 AM, Redmond, Paul wrote:
> Hi,
>
> Can anyone point me to some code (or offer advice) on how I can merge one Module into another?
>
> I have a list of Modules each containing one Function. I would like to combine them all into one monolithic Module before transforming and optimizing (The original Modules must remain unmodified)
>
See Linker::LinkModules(..).
-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110908/ce4fe35f/attachment.html>
More information about the llvm-dev
mailing list