[PATCH] D86993: Document Clang's expectations of the C standard library.

Ralf via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 4 10:41:20 PDT 2023


RalfJung added a comment.
Herald added a subscriber: StephenFan.
Herald added a project: All.

What is the status of this patch? It has not been committed as far as I can tell.

I was looking into this coming from Rust, where we do worry a bit about LLVM calling `memcpy`, `memmove` or `memset` in ways that are not allowed by the C standard. This here would at least give us something to point to, though it doesn't answer the question "which C standard libraries have officially committed to guaranteeing these properties". Since this affects all compilers using LLVM, not just Clang, should this be put somewhere in the LLVM docs?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86993



More information about the cfe-commits mailing list