[LLD] Cyclic dependency between ReaderWriter and YAML backend

Chandler Carruth chandlerc at google.com
Mon Sep 2 20:14:34 PDT 2013


On Mon, Sep 2, 2013 at 8:02 PM, Shankar Easwaran <shankare at codeaurora.org>wrote:

> PS : If there is any sort of cyclic dependency, that should just be
> enclosed within --start-group/--end-group to avoid the dependency.


I strongly disagree. LLVM (and all of its accompanying tools) need to build
in environments which do not support resolving cyclic depndencies at link
times. It is really important to structure and layer the libraries to avoid
cycles. This may mean fewer and more coarse grained libraries, but it's
important to take that approach rather than assume the availability of
facilities like --start-group/--end-group.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/09e42a59/attachment.html>


More information about the llvm-commits mailing list