zixuw added a comment. I've moved things around to resolve the cycle, but sadly it seems that shared lib builds are already broken and I could not test it:
Linking CXX shared library lib/libLLVMTransformUtils.dylib FAILED: lib/libLLVMTransformUtils.dylib : .... Undefined symbols for architecture x86_64: "(anonymous namespace)::MinCostMaxFlow::MinBaseDistance", referenced from: (anonymous namespace)::FlowAdjuster::jumpDistance(llvm::FlowJump*) const in SampleProfileInference.cpp.o Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D119479/new/ https://reviews.llvm.org/D119479 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits