[PATCH] D144889: [C2x] Support <string.h> in freestanding

Ben Craig via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 27 12:40:44 PST 2023


bcraig added a comment.

> Okay, so this is potentially ignorance on my part. I was under the impression that folks using freestanding mode did not want any library to be linked in. Are there freestanding libc implementations out there that the user would link in instead that we defer to (same as we defer hosted C standard library interfaces to the CRT)? Basically, do we need to do nothing in Clang to support N2524?

Oh, and I forgot GPUs.  GPUs do like having everything be header-only, but in my opinion, that's still a requirement / request for C library authors rather than the compiler.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144889



More information about the cfe-commits mailing list