[PATCH] D64939: Add a proposal for a libc project under the LLVM umbrella.

JF Bastien via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 10:34:11 PDT 2019


jfb added inline comments.


================
Comment at: llvm/docs/Proposals/LLVMLibC.rst:37
+  testing like fuzz testing and sanitizer-supported testing.
+- ABI independent implementation as far as possible.
+- Use source based implementations as far possible rather than
----------------
sivachandra wrote:
> jfb wrote:
> > Will it be ABI-stable? Maybe it's worth expanding on how the ABI will evolve, and what will be stable.
> I am not sure how exactly to word it here. Do you have any suggestions on what the ABI promise should be and what exactly to say in a proposal like this?
Depends on what people want to do with it. I'm just saying it should be given thought. If you want to interop with other libc then you need to match their ABI, which can be a burden. IIUC musl matched glibc almost accidentally, and is moving away from doing so. Then you might consider whether your libc is ABI stable over time, and how you'd manage that. The answer might change between static and dynamic versions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64939/new/

https://reviews.llvm.org/D64939





More information about the llvm-commits mailing list