[all-commits] [llvm/llvm-project] 25bf1a: [libc] Enable remaining string functions on the GP...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Oct 23 10:16:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 25bf1ae99b3985a62f00ebf764f17a12f30c257c
https://github.com/llvm/llvm-project/commit/25bf1ae99b3985a62f00ebf764f17a12f30c257c
Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
Date: 2023-10-23 (Mon, 23 Oct 2023)
Changed paths:
M clang/lib/Headers/llvm_libc_wrappers/string.h
M libc/config/gpu/entrypoints.txt
M libc/docs/gpu/support.rst
Log Message:
-----------
[libc] Enable remaining string functions on the GPU (#68346)
Summary:
We previously had to disable these string functions because they were
not compatible with the definitions coming from the GNU / host
environment. The GPU, when exporting its declarations, has a very
difficult requirement that it be compatible with the host environment as
both sides of the compilation need to agree on definitions and what's
present.
This patch more or less gives up an just copies the definitions as
expected by `glibc` if they are provided that way, otherwise we fall
back to the accepted way. This is the alternative solution to an
existing PR which instead disable's GCC's handling.
More information about the All-commits
mailing list