phosek added a comment. Have you considered using an input linker script? We could generate `libc.so` that could look something like:
INPUT(libllvmlibc.a /lib/libc.so) We would need to pass `--sysroot` to the linker for this to work. The driver could remain completely agnostic of whether you're using LLVM libc or not. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D97736/new/ https://reviews.llvm.org/D97736 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits