[PATCH] D97736: [Driver] Add a experimental option to link to LLVM libc.
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 4 21:54:40 PST 2021
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
More information about the cfe-commits
mailing list