[LLVMdev] Please document the layers

Andrew Trick atrick at apple.com
Tue Apr 9 10:15:21 PDT 2013


On Apr 8, 2013, at 2:55 PM, "Robinson, Paul" <Paul_Robinson at playstation.sony.com> wrote:
I keep seeing "this is a layering violation" comments on the lists.
> While there are a few llvm.org pages that mention layers in passing,
> there is nothing (that I've found) actually specifying the layers.
> Trying to infer the layering from the code is tedious and error-prone
> (or we wouldn't see so many violations in code reviews, eh?).
> 
> Now, I understand that Google has some sort of layering checker.
> Could somebody extract the layering information from that tool
> and throw it into a web page?  I'm sure it would be helpful to a
> number of people, not just me.

That would be nice to see, at least for the current state of the code. In the long-term it would be better to auto-generate the page.

Meanwhile, does llvm-config --components and llvm-config --libs help you?

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130409/faf23462/attachment.html>


More information about the llvm-dev mailing list