[LLVMdev] [lld] LLD's software architecture

Bas van den Berg b.van.den.berg.nl at gmail.com
Thu Apr 17 05:51:21 PDT 2014


Hi,

I'm analysing the LLD code structure (aka architecture) and am
trying to mold it into a component model.
Currently I see 4 components:
- Driver
- ReaderWriter
- Passes
- Core

I wonder if this is the order that they're supposed to be in,
since there are also code dependencies upwards from:
  Core -> ReaderWriter
  Passes -> ReaderWriter
  ReaderWriter -> Driver

For a graphical view check:
http://c2lang.org/docs/lld_architecture_96e1b5e02.png

I think that with a few surgical patches, the dependency tree
can be completely free of circular deps.

Bas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140417/3e31466c/attachment.html>


More information about the llvm-dev mailing list