nico wrote:

Oh, I see. We make a shared library with all clang libs, and then clang links 
against it, and clang-tidy links agains the same shared library, and if the 
latter needs SA in that shared library, then it must be in there, and then 
clang depends on it too. Did I get this right?

How feasible would it be to instead build one shared library per clang library 
(libSema.so, libBasic.so, etc)? Then clang could not link against libSA.so and 
clang-tidy would, and it'd probably also help link times. (I don't know how 
outrageous this idea is; I'm just brainstorming here.)

https://github.com/llvm/llvm-project/pull/212024
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to