[PATCH] D154036: [libc] Add support for creating wrapper headers for offloading in clang
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 6 10:40:51 PDT 2023
jhuber6 updated this revision to Diff 537787.
jhuber6 added a comment.
Changing this to only apply to OpenMP for now. It breaks CUDA / HIP builds
because they already have forward declarations of things like `malloc` or
`memcpy` on the GPU that conflict. We'll need to clean those up later.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154036/new/
https://reviews.llvm.org/D154036
Files:
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Headers/CMakeLists.txt
clang/lib/Headers/llvm_libc_wrappers/ctype.h
clang/lib/Headers/llvm_libc_wrappers/inttypes.h
clang/lib/Headers/llvm_libc_wrappers/llvm-libc-decls/README.txt
clang/lib/Headers/llvm_libc_wrappers/stdio.h
clang/lib/Headers/llvm_libc_wrappers/stdlib.h
clang/lib/Headers/llvm_libc_wrappers/string.h
clang/test/Driver/gpu-libc-headers.c
libc/cmake/modules/LLVMLibCHeaderRules.cmake
libc/include/CMakeLists.txt
libc/utils/HdrGen/Generator.cpp
libc/utils/HdrGen/Generator.h
libc/utils/HdrGen/Main.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154036.537787.patch
Type: text/x-patch
Size: 21677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230706/c1ec6030/attachment-0001.bin>
More information about the cfe-commits
mailing list