zturner added a comment. In https://reviews.llvm.org/D43837#1022554, @jingham wrote:
> Okay, that sounds good then. Will you enforce the rule about the Utilities > directory socially or by some mechanism? If you mean the rule that Utility can't depend on anything else, I think it's enforced implicitly. because we have a `UtilityTests` unit test that only links against `Utility` and nothing else. If anything else gets brought in, this binary will fail to link. That said, a while back I wrote a python script (checked in under `lldb/scripts`) which dumps the set of header dependencies for every project. It would perhaps be a useful exercise to write a lit test that enforces this by dumping the deps of `Utility` and ensuring that they're empty. https://reviews.llvm.org/D43837 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits