Building whole-program bitcode with LLVM and Compile the bc to an executable program

Is there a solution to this problem? Compile complex projects into a single bc file and compile the bc file into an executable program