Cyclic dependency: swiftIDE, swiftFrontend, and swiftMigrator

Hello,

I'm trying to improve build time relink performance via LLVM's developer-only BUILD_SHARED_LIBS cmake option and in the process of doing so, cmake complained about a dependency cycle between swiftIDE, swiftFrontend, and swiftMigrator. Is this cycle something that should be fixed? Can it easily be fixed? And either way, which library is "at fault" here?

Thanks,
Dave

Never mind, I got past the previous cycle and and bunch of missing dependencies.

Now I'm tripping over swiftLLVMPasses cycling with swiftIRGen due to LLVMPasses using IRGen's getRuntimeFn() to implement ARCEntryPointBuilder.h.

What's the correct fix for this?