Required after D148767 for flang+debug+slibs build.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Fine.
But I wonder why this didn't have LINK_COMPONENTS before. I guess this would rely on transitive deps.
(LLT impl was provided by LLVMSupport before)
Comment Actions
Good question! It turns out the problem is caused by an unnecessary inclusion of llvm/CodeGen/SelectionDAGNodes.h that ends up including LowLevelType.h. I will upload the diff shortly.
Comment Actions
I am not certain about this change. Ok if this resolves your matter.
I guess the issue was because Debug build would instantiate everything. So, cleaning up unused headers would be good idea.
ps. I expect cmake -DCMAKE_OPTIMIZE_DEPENDENCIES:BOOL=ON . would discover more hidden issues.