[LLD] Cyclic dependency between ReaderWriter and YAML backend

Joerg Sonnenberger joerg at britannica.bec.de
Tue Sep 3 13:03:24 PDT 2013


On Tue, Sep 03, 2013 at 12:53:34PM -0700, Nick Kledzik wrote:
> Joerg has not posted what the circular dependency is.  Maybe it can be
> fixed by moving some trivial code around.  

ReaderWriterYAML.cpp.o has undefined references to Reader::~Reader and
Writer::~Writer. CoreLinkingcontext.cpp.o has undefined references to
createReaderYAML and createWriterYAML. They are in separate libraries.

The trivial move is what the original patch does -- embedded the YAML
reader/writer into libReaderWriter directly.

Joerg



More information about the llvm-commits mailing list