My question is kinda similar to this one: How to generate an executable from an llvm::Module?. But as the answeres there are from 2012, and I'm not sure if anything has changed.
So I've got an LLVM::Module and want to produce an executable from it. I know that I can build an object file from it and invoke a linker on that .o file to get an executable, but I don't want the I/O overhead of reading and writing a intermediate .o file.
I'm wondering if there is an API in the LLVM project that I can use to generate a exec. from a module. Is the llvm::Linker class maybe a good point to start?