mehdi_amini added a comment. The Gold path looks fine. On OSX, we would have the clang driver relying on a LLVM cl::opt, for which I don't think there is any precedent. CC Duncan for advice. https://reviews.llvm.org/D24826