[cfe-dev] Is ModuleBuilder useful to anyone?

Vassil Vassilev vvasilev at cern.ch
Tue Dec 30 14:03:01 PST 2014


Thanks for asking! Yes cling uses it. We are planning to migrate soon 
(ish) to MCJIT and IIUC we could get rid of the ModuleBuilder.
Vassil
On 30/12/14 09:31, Keno Fischer wrote:
> Personally I'm not using it, but I recall that cling might be?
>
> On Tue, Dec 30, 2014 at 8:22 AM, Yaron Keren <yaron.keren at gmail.com 
> <mailto:yaron.keren at gmail.com>> wrote:
>
>     Following
>
>     http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140825/113355.html
>
>     In tree,  ModuleBuilder has one user (+test) only, the
>     BackendConsumer.
>     The interaction between the two classes complicates
>     BackendConsumer logic. For instance, both hold the same Module *
>     in two different std::unique_ptr and dance around this problem to
>     avoid releasing it twice or none.
>
>     Out of tree, is ModuleBuilder limited functionality useful to any
>     project?
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141231/176bf92d/attachment.html>


More information about the cfe-dev mailing list